#F2DFA7 Color Information

Hex color code: #F2DFA7

A airy yellow shade, #F2DFA7 appears as (242, 223, 167) in RGB and (45°, 74%, 80%) in HSL. It is widely used in graphic design.

Try:
Color NameWheat
HEX
#F2DFA7
RGB
242, 223, 167
HSL
45°, 74%, 80%
CMYK
0%, 8%, 31%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2DFA7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 223, 167

Red: 242 / Green: 223 / Blue: 167

HSL

45°, 74%, 80%

Hue: 45° / Saturation: 74% / Lightness: 80%

CMYK

0%, 8%, 31%, 5%

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

What color is #F2DFA7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2DFA7 to RGB:

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

HEX to HSL

Convert #F2DFA7 to HSL:

hsl(45, 74%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #F2DFA7 to CMYK:

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

Color Meaning and Usage

#F2DFA7 is a light yellow color with RGB values of 242, 223, 167 and HSL of 45°, 74%, 80%. This orange-yellow hue evokes optimism and creativity, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2DFA7 is #A6B9F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2B9A6.

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

Contrast with #F2DFA7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2DFA7?

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

What is the RGB value of #F2DFA7?

#F2DFA7 in RGB is (242, 223, 167) - 242 red, 223 green, and 167 blue.

How to use #F2DFA7 in CSS?

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

What colors go well with #F2DFA7?

#A6B9F2 (complementary), #F2B9A6 (analogous), and #E8C764 (lighter shade) work well with #F2DFA7.