#F8D512 Color

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

Color preview

#F8D512

Color formats

HEX
#F8D512
RGB
rgb(248, 213, 18)
RGBA
rgba(248, 213, 18, 1)
HSL
hsl(51, 94%, 52%)
HSV
hsv(51, 93%, 97%)
CMYK
cmyk(0%, 14%, 93%, 3%)
CSS variable
--color-primary: #F8D512;
Lowercase HEX
#f8d512

Shades

Tints

Tones

Harmony

CSS snippets for #F8D512

.color-f8d512 {
  color: #F8D512;
  background-color: #F8D512;
}

Frequently asked questions

What color is #F8D512?+

#F8D512 is a HEX color with RGB value rgb(248, 213, 18) and HSL value hsl(51, 94%, 52%). Its closest CSS named color is Gold.

What is the closest Tailwind color to #F8D512?+

The closest Tailwind color is yellow-400, available as the bg-yellow-400 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