Hex Color #AF8530 - Custom Color

Color Codes

HEX
#AF8530
RGB
rgb(175, 133, 48)
HSL
hsl(40, 57%, 44%)
CMYK
cmyk(0%, 24%, 73%, 31%)
HSV
hsv(40, 73%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.22:1
Pass - 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: #AF8530;
color: #AF8530;
border-color: #AF8530;
}

Tailwind CSS (with arbitrary values)

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