#DCDC2B Color

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

Color preview

#DCDC2B

Color formats

HEX
#DCDC2B
RGB
rgb(220, 220, 43)
RGBA
rgba(220, 220, 43, 1)
HSL
hsl(60, 72%, 52%)
HSV
hsv(60, 80%, 86%)
CMYK
cmyk(0%, 0%, 80%, 14%)
CSS variable
--color-primary: #DCDC2B;
Lowercase HEX
#dcdc2b

Shades

Tints

Tones

Harmony

CSS snippets for #DCDC2B

.color-dcdc2b {
  color: #DCDC2B;
  background-color: #DCDC2B;
}

Frequently asked questions

What color is #DCDC2B?+

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

What is the closest Tailwind color to #DCDC2B?+

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