#F2DC81 Color Information

Hex color code: #F2DC81

#F2DC81 is a vivid yellow color. In RGB it is (242, 220, 129), and in HSL it is (48°, 81%, 73%). It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#F2DC81
RGB
242, 220, 129
HSL
48°, 81%, 73%
CMYK
0%, 9%, 47%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2DC81; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 220, 129

Red: 242 / Green: 220 / Blue: 129

HSL

48°, 81%, 73%

Hue: 48° / Saturation: 81% / Lightness: 73%

CMYK

0%, 9%, 47%, 5%

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

What color is #F2DC81?

#F2DC81 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2DC81 to RGB:

rgb(242, 220, 129)HEX to RGB Converter →

HEX to HSL

Convert #F2DC81 to HSL:

hsl(48, 81%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #F2DC81 to CMYK:

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

Color Meaning and Usage

A bold yellow tone, #F2DC81 has RGB (242, 220, 129) and HSL (48°, 81%, 73%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2DC81 is #8299F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F2A482.

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

Contrast with #F2DC81

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2DC81?

#F2DC81 is a bold yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F2DC81?

#F2DC81 in RGB is (242, 220, 129) - 242 red, 220 green, and 129 blue.

How to use #F2DC81 in CSS?

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

What colors go well with #F2DC81?

#8299F2 (complementary), #F2A482 (analogous), and #EBC83D (lighter shade) work well with #F2DC81.