Hex Color #B5AE40 - Custom Color

Color Codes

HEX
#B5AE40
RGB
rgb(181, 174, 64)
HSL
hsl(56, 48%, 48%)
CMYK
cmyk(0%, 4%, 65%, 29%)
HSV
hsv(56, 65%, 71%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 9.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: #B5AE40;
color: #B5AE40;
border-color: #B5AE40;
}

Tailwind CSS (with arbitrary values)

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