Hex Color #AFC88A - Custom Color
Color Codes
HEX
#AFC88A
RGB
rgb(175, 200, 138)
HSL
hsl(84, 36%, 66%)
CMYK
cmyk(12%, 0%, 31%, 22%)
HSV
hsv(84, 31%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.83:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.45: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: #AFC88A;
color: #AFC88A;
border-color: #AFC88A;
}
Tailwind CSS (with arbitrary values)
bg-[#AFC88A]
text-[#AFC88A]
border-[#AFC88A]
// Example usage:
<div className="bg-[#AFC88A]">