Hex Color #BA970E - Custom Color

Color Codes

HEX
#BA970E
RGB
rgb(186, 151, 14)
HSL
hsl(48, 86%, 39%)
CMYK
cmyk(0%, 19%, 92%, 27%)
HSV
hsv(48, 92%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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