#ECEC5B Color

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

Color preview

#ECEC5B

Color formats

HEX
#ECEC5B
RGB
rgb(236, 236, 91)
RGBA
rgba(236, 236, 91, 1)
HSL
hsl(60, 79%, 64%)
HSV
hsv(60, 61%, 93%)
CMYK
cmyk(0%, 0%, 61%, 7%)
CSS variable
--color-primary: #ECEC5B;
Lowercase HEX
#ecec5b

Shades

Tints

Tones

Harmony

CSS snippets for #ECEC5B

.color-ecec5b {
  color: #ECEC5B;
  background-color: #ECEC5B;
}

Frequently asked questions

What color is #ECEC5B?+

#ECEC5B is a HEX color with RGB value rgb(236, 236, 91) and HSL value hsl(60, 79%, 64%). Its closest CSS named color is Khaki.

What is the closest Tailwind color to #ECEC5B?+

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