Hex Color #AFA39D - Custom Color

Color Codes

HEX
#AFA39D
RGB
rgb(175, 163, 157)
HSL
hsl(20, 10%, 65%)
CMYK
cmyk(0%, 7%, 10%, 31%)
HSV
hsv(20, 10%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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