Hex Color #AFA685 - Custom Color

Color Codes

HEX
#AFA685
RGB
rgb(175, 166, 133)
HSL
hsl(47, 21%, 60%)
CMYK
cmyk(0%, 5%, 24%, 31%)
HSV
hsv(47, 24%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.44:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 8.62: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: #AFA685;
color: #AFA685;
border-color: #AFA685;
}

Tailwind CSS (with arbitrary values)

bg-[#AFA685]
text-[#AFA685]
border-[#AFA685]
// Example usage:
<div className="bg-[#AFA685]">