Hex Color #EAF397 - Custom Color
Color Codes
HEX
#EAF397
RGB
rgb(234, 243, 151)
HSL
hsl(66, 79%, 77%)
CMYK
cmyk(4%, 0%, 38%, 5%)
HSV
hsv(66, 38%, 95%)
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.77: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: #EAF397;
color: #EAF397;
border-color: #EAF397;
}
Tailwind CSS (with arbitrary values)
bg-[#EAF397]
text-[#EAF397]
border-[#EAF397]
// Example usage:
<div className="bg-[#EAF397]">