Hex Color #A6F97C - Custom Color
Color Codes
HEX
#A6F97C
RGB
rgb(166, 249, 124)
HSL
hsl(100, 91%, 73%)
CMYK
cmyk(33%, 0%, 50%, 2%)
HSV
hsv(100, 50%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.46: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: #A6F97C;
color: #A6F97C;
border-color: #A6F97C;
}
Tailwind CSS (with arbitrary values)
bg-[#A6F97C]
text-[#A6F97C]
border-[#A6F97C]
// Example usage:
<div className="bg-[#A6F97C]">