#CDC842 Color

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

Color preview

#CDC842

Color formats

HEX
#CDC842
RGB
rgb(205, 200, 66)
RGBA
rgba(205, 200, 66, 1)
HSL
hsl(58, 58%, 53%)
HSV
hsv(58, 68%, 80%)
CMYK
cmyk(0%, 2%, 68%, 20%)
CSS variable
--color-primary: #CDC842;
Lowercase HEX
#cdc842

Shades

Tints

Tones

Harmony

CSS snippets for #CDC842

.color-cdc842 {
  color: #CDC842;
  background-color: #CDC842;
}

Frequently asked questions

What color is #CDC842?+

#CDC842 is a HEX color with RGB value rgb(205, 200, 66) and HSL value hsl(58, 58%, 53%). Its closest CSS named color is DarkKhaki.

What is the closest Tailwind color to #CDC842?+

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