Hex Color #AFB39A - Custom Color
Color Codes
HEX
#AFB39A
RGB
rgb(175, 179, 154)
HSL
hsl(70, 14%, 65%)
CMYK
cmyk(2%, 0%, 14%, 30%)
HSV
hsv(70, 14%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.74: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: #AFB39A;
color: #AFB39A;
border-color: #AFB39A;
}
Tailwind CSS (with arbitrary values)
bg-[#AFB39A]
text-[#AFB39A]
border-[#AFB39A]
// Example usage:
<div className="bg-[#AFB39A]">