Hex Color #AFE47E - Custom Color
Color Codes
HEX
#AFE47E
RGB
rgb(175, 228, 126)
HSL
hsl(91, 65%, 69%)
CMYK
cmyk(23%, 0%, 45%, 11%)
HSV
hsv(91, 45%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.22: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: #AFE47E;
color: #AFE47E;
border-color: #AFE47E;
}
Tailwind CSS (with arbitrary values)
bg-[#AFE47E]
text-[#AFE47E]
border-[#AFE47E]
// Example usage:
<div className="bg-[#AFE47E]">