Hex Color #AFE7AD - Custom Color
Color Codes
HEX
#AFE7AD
RGB
rgb(175, 231, 173)
HSL
hsl(118, 55%, 79%)
CMYK
cmyk(24%, 0%, 25%, 9%)
HSV
hsv(118, 25%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.41:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.86: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: #AFE7AD;
color: #AFE7AD;
border-color: #AFE7AD;
}
Tailwind CSS (with arbitrary values)
bg-[#AFE7AD]
text-[#AFE7AD]
border-[#AFE7AD]
// Example usage:
<div className="bg-[#AFE7AD]">