Hex Color #AFB2AE - Custom Color
Color Codes
HEX
#AFB2AE
RGB
rgb(175, 178, 174)
HSL
hsl(105, 3%, 69%)
CMYK
cmyk(2%, 0%, 2%, 30%)
HSV
hsv(105, 2%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.14:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.80:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #AFB2AE;
color: #AFB2AE;
border-color: #AFB2AE;
}
Tailwind CSS (with arbitrary values)
bg-[#AFB2AE]
text-[#AFB2AE]
border-[#AFB2AE]
// Example usage:
<div className="bg-[#AFB2AE]">