Hex Color #B0A313 - Custom Color

Color Codes

HEX
#B0A313
RGB
rgb(176, 163, 19)
HSL
hsl(55, 81%, 38%)
CMYK
cmyk(0%, 7%, 89%, 31%)
HSV
hsv(55, 89%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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