#F2DD97 Color Information

Hex color code: #F2DD97

A airy yellow shade, #F2DD97 appears as (242, 221, 151) in RGB and (46°, 78%, 77%) in HSL. It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#F2DD97
RGB
242, 221, 151
HSL
46°, 78%, 77%
CMYK
0%, 9%, 38%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2DD97; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 221, 151

Red: 242 / Green: 221 / Blue: 151

HSL

46°, 78%, 77%

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

CMYK

0%, 9%, 38%, 5%

Cyan: 0% / Magenta: 9% / Yellow: 38% / Key: 5%

What color is #F2DD97?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2DD97 to RGB:

rgb(242, 221, 151)HEX to RGB Converter →

HEX to HSL

Convert #F2DD97 to HSL:

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

HEX to CMYK

Convert #F2DD97 to CMYK:

cmyk(0%, 9%, 38%, 5%)Color Converter →

Color Meaning and Usage

A delicate yellow tone, #F2DD97 has RGB (242, 221, 151) and HSL (46°, 78%, 77%). Known for evoking optimism and creativity, this orange-yellow hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2DD97 is #97ACF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2AF97.

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

Contrast with #F2DD97

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2DD97?

#F2DD97 is a delicate yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #F2DD97?

#F2DD97 in RGB is (242, 221, 151) - 242 red, 221 green, and 151 blue.

How to use #F2DD97 in CSS?

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

What colors go well with #F2DD97?

#97ACF2 (complementary), #F2AF97 (analogous), and #EAC653 (lighter shade) work well with #F2DD97.