Hex Color #A7E162 - Custom Color
Color Codes
HEX
#A7E162
RGB
rgb(167, 225, 98)
HSL
hsl(87, 68%, 63%)
CMYK
cmyk(26%, 0%, 56%, 12%)
HSV
hsv(87, 56%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.55:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.59: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: #A7E162;
color: #A7E162;
border-color: #A7E162;
}
Tailwind CSS (with arbitrary values)
bg-[#A7E162]
text-[#A7E162]
border-[#A7E162]
// Example usage:
<div className="bg-[#A7E162]">