#D7A228 Color

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

Color preview

#D7A228

Color formats

HEX
#D7A228
RGB
rgb(215, 162, 40)
RGBA
rgba(215, 162, 40, 1)
HSL
hsl(42, 69%, 50%)
HSV
hsv(42, 81%, 84%)
CMYK
cmyk(0%, 25%, 81%, 16%)
CSS variable
--color-primary: #D7A228;
Lowercase HEX
#d7a228

Shades

Tints

Tones

Harmony

CSS snippets for #D7A228

.color-d7a228 {
  color: #D7A228;
  background-color: #D7A228;
}

Frequently asked questions

What color is #D7A228?+

#D7A228 is a HEX color with RGB value rgb(215, 162, 40) and HSL value hsl(42, 69%, 50%). Its closest CSS named color is GoldenRod.

What is the closest Tailwind color to #D7A228?+

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