#F2F7C2 Color Information

Hex color code: #F2F7C2

The hex color #F2F7C2 is a light yellow with RGB values of (242, 247, 194) and HSL of (66°, 77%, 86%). It is commonly used in modern UI design.

Try:
Color NameLemon Chiffon
HEX
#F2F7C2
RGB
242, 247, 194
HSL
66°, 77%, 86%
CMYK
2%, 0%, 21%, 3%

Shades

CSS Usage
color: #F2F7C2;
background-color: #F2F7C2;
border-color: #F2F7C2;
box-shadow: 0 0 10px #F2F7C2;
border: 2px solid #F2F7C2;
Tailwind Usage
bg-[#F2F7C2]
text-[#F2F7C2]
border-[#F2F7C2]
shadow-[0_0_10px_F2F7C2]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #F2F7C2, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #F2F7C2; color: #000000; }

Badge

New Feature
.badge { background-color: #F2F7C2; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #F2F7C2; background-color: #F2F7C215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #F2F7C220; border-left: 4px solid #F2F7C2; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #F2F7C2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #F2F7C2 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 247, 194

Red: 242 / Green: 247 / Blue: 194

HSL

66°, 77%, 86%

Hue: 66° / Saturation: 77% / Lightness: 86%

CMYK

2%, 0%, 21%, 3%

Cyan: 2% / Magenta: 0% / Yellow: 21% / Key: 3%

What color is #F2F7C2?

#F2F7C2 is a very light tint associated with purity and simplicity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2F7C2 to RGB:

rgb(242, 247, 194)HEX to RGB Converter →

HEX to HSL

Convert #F2F7C2 to HSL:

hsl(66, 77%, 86%)RGB to HSL Converter →

HEX to CMYK

Convert #F2F7C2 to CMYK:

cmyk(2%, 0%, 21%, 3%)Color Converter →

Color Meaning and Usage

#F2F7C2 is a delicate yellow color with RGB values of 242, 247, 194 and HSL of 66°, 77%, 86%. This very light tint evokes purity and simplicity, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2F7C2 is #C5C0F7, creating high-contrast pairings. For softer combinations, try analogous colors like #F7E1C0.

Use #F2F7C2 in CSS: color: #F2F7C2 or background-color: #F2F7C2. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #F2F7C2

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 18.86:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2F7C2?

#F2F7C2 is a delicate yellow color - a very light tint that evokes purity and simplicity.

What is the RGB value of #F2F7C2?

#F2F7C2 in RGB is (242, 247, 194) - 242 red, 247 green, and 194 blue.

How to use #F2F7C2 in CSS?

Use #F2F7C2 directly in your CSS properties like color or background-color.

What colors go well with #F2F7C2?

#C5C0F7 (complementary), #F7E1C0 (analogous), and #E3EE7C (lighter shade) work well with #F2F7C2.