#DCF308 Color

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

Color preview

#DCF308

Color formats

HEX
#DCF308
RGB
rgb(220, 243, 8)
RGBA
rgba(220, 243, 8, 1)
HSL
hsl(66, 94%, 49%)
HSV
hsv(66, 97%, 95%)
CMYK
cmyk(9%, 0%, 97%, 5%)
CSS variable
--color-primary: #DCF308;
Lowercase HEX
#dcf308

Shades

Tints

Tones

Harmony

CSS snippets for #DCF308

.color-dcf308 {
  color: #DCF308;
  background-color: #DCF308;
}

Frequently asked questions

What color is #DCF308?+

#DCF308 is a HEX color with RGB value rgb(220, 243, 8) and HSL value hsl(66, 94%, 49%). Its closest CSS named color is Yellow.

What is the closest Tailwind color to #DCF308?+

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