#D8C731 Color

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

Color preview

#D8C731

Color formats

HEX
#D8C731
RGB
rgb(216, 199, 49)
RGBA
rgba(216, 199, 49, 1)
HSL
hsl(54, 68%, 52%)
HSV
hsv(54, 77%, 85%)
CMYK
cmyk(0%, 8%, 77%, 15%)
CSS variable
--color-primary: #D8C731;
Lowercase HEX
#d8c731

Shades

Tints

Tones

Harmony

CSS snippets for #D8C731

.color-d8c731 {
  color: #D8C731;
  background-color: #D8C731;
}

Frequently asked questions

What color is #D8C731?+

#D8C731 is a HEX color with RGB value rgb(216, 199, 49) and HSL value hsl(54, 68%, 52%). Its closest CSS named color is GoldenRod.

What is the closest Tailwind color to #D8C731?+

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