#D2D51A Color

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

Color preview

#D2D51A

Color formats

HEX
#D2D51A
RGB
rgb(210, 213, 26)
RGBA
rgba(210, 213, 26, 1)
HSL
hsl(61, 78%, 47%)
HSV
hsv(61, 88%, 84%)
CMYK
cmyk(1%, 0%, 88%, 16%)
CSS variable
--color-primary: #D2D51A;
Lowercase HEX
#d2d51a

Shades

Tints

Tones

Harmony

CSS snippets for #D2D51A

.color-d2d51a {
  color: #D2D51A;
  background-color: #D2D51A;
}

Frequently asked questions

What color is #D2D51A?+

#D2D51A is a HEX color with RGB value rgb(210, 213, 26) and HSL value hsl(61, 78%, 47%). Its closest CSS named color is GoldenRod.

What is the closest Tailwind color to #D2D51A?+

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