Hex Color #96A81B - Custom Color
Color Codes
HEX
#96A81B
RGB
rgb(150, 168, 27)
HSL
hsl(68, 72%, 38%)
CMYK
cmyk(11%, 0%, 84%, 34%)
HSV
hsv(68, 84%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.65:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.91: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: #96A81B;
color: #96A81B;
border-color: #96A81B;
}
Tailwind CSS (with arbitrary values)
bg-[#96A81B]
text-[#96A81B]
border-[#96A81B]
// Example usage:
<div className="bg-[#96A81B]">