#D2D51B Color

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

Color preview

#D2D51B

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D2D51B

.color-d2d51b {
  color: #D2D51B;
  background-color: #D2D51B;
}

Frequently asked questions

What color is #D2D51B?+

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

What is the closest Tailwind color to #D2D51B?+

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