Hex Color #B7BA3E - Custom Color

Color Codes

HEX
#B7BA3E
RGB
rgb(183, 186, 62)
HSL
hsl(61, 50%, 49%)
CMYK
cmyk(2%, 0%, 67%, 27%)
HSV
hsv(61, 67%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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