Hex Color #AFA16E - Custom Color
Color Codes
HEX
#AFA16E
RGB
rgb(175, 161, 110)
HSL
hsl(47, 29%, 56%)
CMYK
cmyk(0%, 8%, 37%, 31%)
HSV
hsv(47, 37%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.58:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.15: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: #AFA16E;
color: #AFA16E;
border-color: #AFA16E;
}
Tailwind CSS (with arbitrary values)
bg-[#AFA16E]
text-[#AFA16E]
border-[#AFA16E]
// Example usage:
<div className="bg-[#AFA16E]">