Hex Color #AFC2A5 - Custom Color
Color Codes
HEX
#AFC2A5
RGB
rgb(175, 194, 165)
HSL
hsl(99, 19%, 70%)
CMYK
cmyk(10%, 0%, 15%, 24%)
HSV
hsv(99, 15%, 76%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.89:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.08: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: #AFC2A5;
color: #AFC2A5;
border-color: #AFC2A5;
}
Tailwind CSS (with arbitrary values)
bg-[#AFC2A5]
text-[#AFC2A5]
border-[#AFC2A5]
// Example usage:
<div className="bg-[#AFC2A5]">