Hex Color #ECFDB2 - Custom Color
Color Codes
HEX
#ECFDB2
RGB
rgb(236, 253, 178)
HSL
hsl(74, 95%, 85%)
CMYK
cmyk(7%, 0%, 30%, 1%)
HSV
hsv(74, 30%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.09:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 19.26: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: #ECFDB2;
color: #ECFDB2;
border-color: #ECFDB2;
}
Tailwind CSS (with arbitrary values)
bg-[#ECFDB2]
text-[#ECFDB2]
border-[#ECFDB2]
// Example usage:
<div className="bg-[#ECFDB2]">