Hex Color #AF5539 - Custom Color

Color Codes

HEX
#AF5539
RGB
rgb(175, 85, 57)
HSL
hsl(14, 51%, 45%)
CMYK
cmyk(0%, 51%, 67%, 31%)
HSV
hsv(14, 67%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.18:1
Fail - WCAG AA (Normal Text)
Fail - 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: #AF5539;
color: #AF5539;
border-color: #AF5539;
}

Tailwind CSS (with arbitrary values)

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