#F2ED9C Color Information

Hex color code: #F2ED9C

A ethereal yellow shade, #F2ED9C appears as (242, 237, 156) in RGB and (57°, 77%, 78%) in HSL. It is typically applied in digital products.

Try:
Color NameKhaki
HEX
#F2ED9C
RGB
242, 237, 156
HSL
57°, 77%, 78%
CMYK
0%, 2%, 36%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2ED9C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 237, 156

Red: 242 / Green: 237 / Blue: 156

HSL

57°, 77%, 78%

Hue: 57° / Saturation: 77% / Lightness: 78%

CMYK

0%, 2%, 36%, 5%

Cyan: 0% / Magenta: 2% / Yellow: 36% / Key: 5%

What color is #F2ED9C?

#F2ED9C is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2ED9C to RGB:

rgb(242, 237, 156)HEX to RGB Converter →

HEX to HSL

Convert #F2ED9C to HSL:

hsl(57, 77%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #F2ED9C to CMYK:

cmyk(0%, 2%, 36%, 5%)Color Converter →

Color Meaning and Usage

#F2ED9C is a light yellow color with RGB values of 242, 237, 156 and HSL of 57°, 77%, 78%. This orange-yellow hue evokes optimism and creativity, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2ED9C is #9CA0F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2C39C.

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

Contrast with #F2ED9C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2ED9C?

#F2ED9C is a light yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #F2ED9C?

#F2ED9C in RGB is (242, 237, 156) - 242 red, 237 green, and 156 blue.

How to use #F2ED9C in CSS?

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

What colors go well with #F2ED9C?

#9CA0F2 (complementary), #F2C39C (analogous), and #E9E258 (lighter shade) work well with #F2ED9C.