Hex Color #ECFC6F - Custom Color
Color Codes
HEX
#ECFC6F
RGB
rgb(236, 252, 111)
HSL
hsl(67, 96%, 71%)
CMYK
cmyk(6%, 0%, 56%, 1%)
HSV
hsv(67, 56%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.12:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 18.72: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: #ECFC6F;
color: #ECFC6F;
border-color: #ECFC6F;
}
Tailwind CSS (with arbitrary values)
bg-[#ECFC6F]
text-[#ECFC6F]
border-[#ECFC6F]
// Example usage:
<div className="bg-[#ECFC6F]">