Hex Color #ECF232 - Custom Color

Color Codes

HEX
#ECF232
RGB
rgb(236, 242, 50)
HSL
hsl(62, 88%, 57%)
CMYK
cmyk(2%, 0%, 79%, 5%)
HSV
hsv(62, 79%, 95%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 17.31: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: #ECF232;
color: #ECF232;
border-color: #ECF232;
}

Tailwind CSS (with arbitrary values)

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