#F2DF31 Color

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

Color preview

#F2DF31

Color formats

HEX
#F2DF31
RGB
rgb(242, 223, 49)
RGBA
rgba(242, 223, 49, 1)
HSL
hsl(54, 88%, 57%)
HSV
hsv(54, 80%, 95%)
CMYK
cmyk(0%, 8%, 80%, 5%)
CSS variable
--color-primary: #F2DF31;
Lowercase HEX
#f2df31

Shades

Tints

Tones

Harmony

CSS snippets for #F2DF31

.color-f2df31 {
  color: #F2DF31;
  background-color: #F2DF31;
}

Frequently asked questions

What color is #F2DF31?+

#F2DF31 is a HEX color with RGB value rgb(242, 223, 49) and HSL value hsl(54, 88%, 57%). Its closest CSS named color is Gold.

What is the closest Tailwind color to #F2DF31?+

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