#F2EC4E Color

Inspect #F2EC4E across formats, palettes, contrast and closest named color matches.

Color preview

#F2EC4E

Color formats

HEX
#F2EC4E
RGB
rgb(242, 236, 78)
RGBA
rgba(242, 236, 78, 1)
HSL
hsl(58, 86%, 63%)
HSV
hsv(58, 68%, 95%)
CMYK
cmyk(0%, 2%, 68%, 5%)
CSS variable
--color-primary: #F2EC4E;
Lowercase HEX
#f2ec4e

Shades

Tints

Tones

Harmony

CSS snippets for #F2EC4E

.color-f2ec4e {
  color: #F2EC4E;
  background-color: #F2EC4E;
}

Frequently asked questions

What color is #F2EC4E?+

#F2EC4E is a HEX color with RGB value rgb(242, 236, 78) and HSL value hsl(58, 86%, 63%). Its closest CSS named color is Khaki.

What is the closest Tailwind color to #F2EC4E?+

The closest Tailwind color is yellow-300, available as the bg-yellow-300 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools