Hex Color #B7B42C - Custom Color
Color Codes
HEX
#B7B42C
RGB
rgb(183, 180, 44)
HSL
hsl(59, 61%, 45%)
CMYK
cmyk(0%, 2%, 76%, 28%)
HSV
hsv(59, 76%, 72%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.19:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.58: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: #B7B42C;
color: #B7B42C;
border-color: #B7B42C;
}
Tailwind CSS (with arbitrary values)
bg-[#B7B42C]
text-[#B7B42C]
border-[#B7B42C]
// Example usage:
<div className="bg-[#B7B42C]">