Hex Color #096812 - Custom Color
Color Codes
HEX
#096812
RGB
rgb(9, 104, 18)
HSL
hsl(126, 84%, 22%)
CMYK
cmyk(91%, 0%, 83%, 59%)
HSV
hsv(126, 91%, 41%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.00:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.00:1
Fail - WCAG AA (Normal Text)
Fail - 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: #096812;
color: #096812;
border-color: #096812;
}
Tailwind CSS (with arbitrary values)
bg-[#096812]
text-[#096812]
border-[#096812]
// Example usage:
<div className="bg-[#096812]">