#F2F8CC Color Information

Hex color code: #F2F8CC

The hex color #F2F8CC is a soft yellow with RGB values of (242, 248, 204) and HSL of (68°, 76%, 89%). It is frequently seen in web interfaces.

Try:
Color NameLight Goldenrod Yellow
HEX
#F2F8CC
RGB
242, 248, 204
HSL
68°, 76%, 89%
CMYK
2%, 0%, 18%, 3%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2F8CC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 248, 204

Red: 242 / Green: 248 / Blue: 204

HSL

68°, 76%, 89%

Hue: 68° / Saturation: 76% / Lightness: 89%

CMYK

2%, 0%, 18%, 3%

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

What color is #F2F8CC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2F8CC to RGB:

rgb(242, 248, 204)HEX to RGB Converter →

HEX to HSL

Convert #F2F8CC to HSL:

hsl(68, 76%, 89%)RGB to HSL Converter →

HEX to CMYK

Convert #F2F8CC to CMYK:

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

Color Meaning and Usage

#F2F8CC is a soft yellow color with RGB values of 242, 248, 204 and HSL of 68°, 76%, 89%. This very light tint evokes purity and simplicity, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2F8CC is #D3CEF8, creating high-contrast pairings. For softer combinations, try analogous colors like #F8E9CE.

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

Contrast with #F2F8CC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2F8CC?

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

What is the RGB value of #F2F8CC?

#F2F8CC in RGB is (242, 248, 204) - 242 red, 248 green, and 204 blue.

How to use #F2F8CC in CSS?

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

What colors go well with #F2F8CC?

#D3CEF8 (complementary), #F8E9CE (analogous), and #E2EF8A (lighter shade) work well with #F2F8CC.