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