#D8D222 Color

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

Color preview

#D8D222

Color formats

HEX
#D8D222
RGB
rgb(216, 210, 34)
RGBA
rgba(216, 210, 34, 1)
HSL
hsl(58, 73%, 49%)
HSV
hsv(58, 84%, 85%)
CMYK
cmyk(0%, 3%, 84%, 15%)
CSS variable
--color-primary: #D8D222;
Lowercase HEX
#d8d222

Shades

Tints

Tones

Harmony

CSS snippets for #D8D222

.color-d8d222 {
  color: #D8D222;
  background-color: #D8D222;
}

Frequently asked questions

What color is #D8D222?+

#D8D222 is a HEX color with RGB value rgb(216, 210, 34) and HSL value hsl(58, 73%, 49%). Its closest CSS named color is GoldenRod.

What is the closest Tailwind color to #D8D222?+

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