#F2D679 Color Information

Hex color code: #F2D679

#F2D679 is a eye-catching yellow color. In RGB it is (242, 214, 121), and in HSL it is (46°, 82%, 71%). It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#F2D679
RGB
242, 214, 121
HSL
46°, 82%, 71%
CMYK
0%, 12%, 50%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2D679; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 214, 121

Red: 242 / Green: 214 / Blue: 121

HSL

46°, 82%, 71%

Hue: 46° / Saturation: 82% / Lightness: 71%

CMYK

0%, 12%, 50%, 5%

Cyan: 0% / Magenta: 12% / Yellow: 50% / Key: 5%

What color is #F2D679?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2D679 to RGB:

rgb(242, 214, 121)HEX to RGB Converter →

HEX to HSL

Convert #F2D679 to HSL:

hsl(46, 82%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #F2D679 to CMYK:

cmyk(0%, 12%, 50%, 5%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #F2D679 has RGB (242, 214, 121) and HSL (46°, 82%, 71%). Known for evoking energy and excitement, this highly saturated hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2D679 is #7895F2, creating high-contrast pairings. For softer combinations, try analogous colors like #F29978.

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

Contrast with #F2D679

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2D679?

#F2D679 is a striking yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F2D679?

#F2D679 in RGB is (242, 214, 121) - 242 red, 214 green, and 121 blue.

How to use #F2D679 in CSS?

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

What colors go well with #F2D679?

#7895F2 (complementary), #F29978 (analogous), and #EBC033 (lighter shade) work well with #F2D679.