#D8D227 Color

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

Color preview

#D8D227

Color formats

HEX
#D8D227
RGB
rgb(216, 210, 39)
RGBA
rgba(216, 210, 39, 1)
HSL
hsl(58, 69%, 50%)
HSV
hsv(58, 82%, 85%)
CMYK
cmyk(0%, 3%, 82%, 15%)
CSS variable
--color-primary: #D8D227;
Lowercase HEX
#d8d227

Shades

Tints

Tones

Harmony

CSS snippets for #D8D227

.color-d8d227 {
  color: #D8D227;
  background-color: #D8D227;
}

Frequently asked questions

What color is #D8D227?+

#D8D227 is a HEX color with RGB value rgb(216, 210, 39) and HSL value hsl(58, 69%, 50%). Its closest CSS named color is GoldenRod.

What is the closest Tailwind color to #D8D227?+

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