Hex Color #ECF602 - Custom Color

Color Codes

HEX
#ECF602
RGB
rgb(236, 246, 2)
HSL
hsl(62, 98%, 49%)
CMYK
cmyk(4%, 0%, 99%, 4%)
HSV
hsv(62, 99%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 17.75:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use black text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #ECF602;
color: #ECF602;
border-color: #ECF602;
}

Tailwind CSS (with arbitrary values)

bg-[#ECF602]
text-[#ECF602]
border-[#ECF602]
// Example usage:
<div className="bg-[#ECF602]">