#F2EC91 Color Information

Hex color code: #F2EC91

A light yellow shade, #F2EC91 appears as (242, 236, 145) in RGB and (56°, 79%, 76%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameKhaki
HEX
#F2EC91
RGB
242, 236, 145
HSL
56°, 79%, 76%
CMYK
0%, 2%, 40%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2EC91; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 236, 145

Red: 242 / Green: 236 / Blue: 145

HSL

56°, 79%, 76%

Hue: 56° / Saturation: 79% / Lightness: 76%

CMYK

0%, 2%, 40%, 5%

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

What color is #F2EC91?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2EC91 to RGB:

rgb(242, 236, 145)HEX to RGB Converter →

HEX to HSL

Convert #F2EC91 to HSL:

hsl(56, 79%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #F2EC91 to CMYK:

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

Color Meaning and Usage

#F2EC91 is a soft yellow color with RGB values of 242, 236, 145 and HSL of 56°, 79%, 76%. 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 #F2EC91 is #9198F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2BB91.

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

Contrast with #F2EC91

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2EC91?

#F2EC91 is a soft yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #F2EC91?

#F2EC91 in RGB is (242, 236, 145) - 242 red, 236 green, and 145 blue.

How to use #F2EC91 in CSS?

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

What colors go well with #F2EC91?

#9198F2 (complementary), #F2BB91 (analogous), and #EAE04D (lighter shade) work well with #F2EC91.