Hex Color #AFD869 - Custom Color
Color Codes
HEX
#AFD869
RGB
rgb(175, 216, 105)
HSL
hsl(82, 59%, 63%)
CMYK
cmyk(19%, 0%, 51%, 15%)
HSV
hsv(82, 51%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.85: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: #AFD869;
color: #AFD869;
border-color: #AFD869;
}
Tailwind CSS (with arbitrary values)
bg-[#AFD869]
text-[#AFD869]
border-[#AFD869]
// Example usage:
<div className="bg-[#AFD869]">