#D2D242 Color

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

Color preview

#D2D242

Color formats

HEX
#D2D242
RGB
rgb(210, 210, 66)
RGBA
rgba(210, 210, 66, 1)
HSL
hsl(60, 62%, 54%)
HSV
hsv(60, 69%, 82%)
CMYK
cmyk(0%, 0%, 69%, 18%)
CSS variable
--color-primary: #D2D242;
Lowercase HEX
#d2d242

Shades

Tints

Tones

Harmony

CSS snippets for #D2D242

.color-d2d242 {
  color: #D2D242;
  background-color: #D2D242;
}

Frequently asked questions

What color is #D2D242?+

#D2D242 is a HEX color with RGB value rgb(210, 210, 66) and HSL value hsl(60, 62%, 54%). Its closest CSS named color is DarkKhaki.

What is the closest Tailwind color to #D2D242?+

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