#F2DF9A Color Information

Hex color code: #F2DF9A

A light yellow shade, #F2DF9A appears as (242, 223, 154) in RGB and (47°, 77%, 78%) in HSL. It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#F2DF9A
RGB
242, 223, 154
HSL
47°, 77%, 78%
CMYK
0%, 8%, 36%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2DF9A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 223, 154

Red: 242 / Green: 223 / Blue: 154

HSL

47°, 77%, 78%

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

CMYK

0%, 8%, 36%, 5%

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

What color is #F2DF9A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2DF9A to RGB:

rgb(242, 223, 154)HEX to RGB Converter →

HEX to HSL

Convert #F2DF9A to HSL:

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

HEX to CMYK

Convert #F2DF9A to CMYK:

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

Color Meaning and Usage

A soft yellow tone, #F2DF9A has RGB (242, 223, 154) and HSL (47°, 77%, 78%). Known for evoking optimism and creativity, this orange-yellow hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2DF9A is #9CAEF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2B49C.

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

Contrast with #F2DF9A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2DF9A?

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

What is the RGB value of #F2DF9A?

#F2DF9A in RGB is (242, 223, 154) - 242 red, 223 green, and 154 blue.

How to use #F2DF9A in CSS?

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

What colors go well with #F2DF9A?

#9CAEF2 (complementary), #F2B49C (analogous), and #E9CA58 (lighter shade) work well with #F2DF9A.