#DEF042 Color

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

Color preview

#DEF042

Color formats

HEX
#DEF042
RGB
rgb(222, 240, 66)
RGBA
rgba(222, 240, 66, 1)
HSL
hsl(66, 85%, 60%)
HSV
hsv(66, 73%, 94%)
CMYK
cmyk(7%, 0%, 73%, 6%)
CSS variable
--color-primary: #DEF042;
Lowercase HEX
#def042

Shades

Tints

Tones

Harmony

CSS snippets for #DEF042

.color-def042 {
  color: #DEF042;
  background-color: #DEF042;
}

Frequently asked questions

What color is #DEF042?+

#DEF042 is a HEX color with RGB value rgb(222, 240, 66) and HSL value hsl(66, 85%, 60%). Its closest CSS named color is GreenYellow.

What is the closest Tailwind color to #DEF042?+

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