Hex Color #B99A2D - Custom Color

Color Codes

HEX
#B99A2D
RGB
rgb(185, 154, 45)
HSL
hsl(47, 61%, 45%)
CMYK
cmyk(0%, 17%, 76%, 27%)
HSV
hsv(47, 76%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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