Hex Color #BAA730 - Custom Color

Color Codes

HEX
#BAA730
RGB
rgb(186, 167, 48)
HSL
hsl(52, 59%, 46%)
CMYK
cmyk(0%, 10%, 74%, 27%)
HSV
hsv(52, 74%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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