#DCDC2A Color

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

Color preview

#DCDC2A

Color formats

HEX
#DCDC2A
RGB
rgb(220, 220, 42)
RGBA
rgba(220, 220, 42, 1)
HSL
hsl(60, 72%, 51%)
HSV
hsv(60, 81%, 86%)
CMYK
cmyk(0%, 0%, 81%, 14%)
CSS variable
--color-primary: #DCDC2A;
Lowercase HEX
#dcdc2a

Shades

Tints

Tones

Harmony

CSS snippets for #DCDC2A

.color-dcdc2a {
  color: #DCDC2A;
  background-color: #DCDC2A;
}

Frequently asked questions

What color is #DCDC2A?+

#DCDC2A is a HEX color with RGB value rgb(220, 220, 42) and HSL value hsl(60, 72%, 51%). Its closest CSS named color is Gold.

What is the closest Tailwind color to #DCDC2A?+

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