Hex Color #AB420D - Custom Color

Color Codes

HEX
#AB420D
RGB
rgb(171, 66, 13)
HSL
hsl(20, 86%, 36%)
CMYK
cmyk(0%, 61%, 92%, 33%)
HSV
hsv(20, 92%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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