#F2F7C5 Color Information

Hex color code: #F2F7C5

A light yellow shade, #F2F7C5 appears as (242, 247, 197) in RGB and (66°, 76%, 87%) in HSL. It is commonly used in modern UI design.

Try:
Color NameLight Goldenrod Yellow
HEX
#F2F7C5
RGB
242, 247, 197
HSL
66°, 76%, 87%
CMYK
2%, 0%, 20%, 3%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #F2F7C5; 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 #F2F7C5; background-color: #F2F7C515; }

Alert / Toast

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

Link / Accent

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

a { color: #F2F7C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 247, 197

Red: 242 / Green: 247 / Blue: 197

HSL

66°, 76%, 87%

Hue: 66° / Saturation: 76% / Lightness: 87%

CMYK

2%, 0%, 20%, 3%

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

What color is #F2F7C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2F7C5 to RGB:

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

HEX to HSL

Convert #F2F7C5 to HSL:

hsl(66, 76%, 87%)RGB to HSL Converter →

HEX to CMYK

Convert #F2F7C5 to CMYK:

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

Color Meaning and Usage

A light yellow tone, #F2F7C5 has RGB (242, 247, 197) and HSL (66°, 76%, 87%). Known for evoking purity and simplicity, this very light tint is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2F7C5 is #CAC5F7, creating high-contrast pairings. For softer combinations, try analogous colors like #F7E3C5.

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

Contrast with #F2F7C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2F7C5?

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

What is the RGB value of #F2F7C5?

#F2F7C5 in RGB is (242, 247, 197) - 242 red, 247 green, and 197 blue.

How to use #F2F7C5 in CSS?

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

What colors go well with #F2F7C5?

#CAC5F7 (complementary), #F7E3C5 (analogous), and #E3EE81 (lighter shade) work well with #F2F7C5.