Hex Color #A0E221 - Custom Color
Color Codes
HEX
#A0E221
RGB
rgb(160, 226, 33)
HSL
hsl(81, 77%, 51%)
CMYK
cmyk(29%, 0%, 85%, 11%)
HSV
hsv(81, 85%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.57:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.40: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: #A0E221;
color: #A0E221;
border-color: #A0E221;
}
Tailwind CSS (with arbitrary values)
bg-[#A0E221]
text-[#A0E221]
border-[#A0E221]
// Example usage:
<div className="bg-[#A0E221]">