#F2D06C Color Information

Hex color code: #F2D06C

The hex color #F2D06C is a bold yellow with RGB values of (242, 208, 108) and HSL of (45°, 84%, 69%). It is frequently seen in web interfaces.

Try:
Color NameKhaki
HEX
#F2D06C
RGB
242, 208, 108
HSL
45°, 84%, 69%
CMYK
0%, 14%, 55%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #F2D06C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

242, 208, 108

Red: 242 / Green: 208 / Blue: 108

HSL

45°, 84%, 69%

Hue: 45° / Saturation: 84% / Lightness: 69%

CMYK

0%, 14%, 55%, 5%

Cyan: 0% / Magenta: 14% / Yellow: 55% / Key: 5%

What color is #F2D06C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F2D06C to RGB:

rgb(242, 208, 108)HEX to RGB Converter →

HEX to HSL

Convert #F2D06C to HSL:

hsl(45, 84%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #F2D06C to CMYK:

cmyk(0%, 14%, 55%, 5%)Color Converter →

Color Meaning and Usage

#F2D06C is a vivid yellow color with RGB values of 242, 208, 108 and HSL of 45°, 84%, 69%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F2D06C is #6E8FF2, creating high-contrast pairings. For softer combinations, try analogous colors like #F28F6E.

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

Contrast with #F2D06C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F2D06C?

#F2D06C is a vivid yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F2D06C?

#F2D06C in RGB is (242, 208, 108) - 242 red, 208 green, and 108 blue.

How to use #F2D06C in CSS?

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

What colors go well with #F2D06C?

#6E8FF2 (complementary), #F28F6E (analogous), and #ECBB27 (lighter shade) work well with #F2D06C.