Hex Color #AFF858 - Custom Color
Color Codes
HEX
#AFF858
RGB
rgb(175, 248, 88)
HSL
hsl(87, 92%, 66%)
CMYK
cmyk(29%, 0%, 65%, 3%)
HSV
hsv(87, 65%, 97%)
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.39: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: #AFF858;
color: #AFF858;
border-color: #AFF858;
}
Tailwind CSS (with arbitrary values)
bg-[#AFF858]
text-[#AFF858]
border-[#AFF858]
// Example usage:
<div className="bg-[#AFF858]">