Hex Color #166309 - Custom Color
Color Codes
HEX
#166309
RGB
rgb(22, 99, 9)
HSL
hsl(111, 83%, 21%)
CMYK
cmyk(78%, 0%, 91%, 61%)
HSV
hsv(111, 91%, 39%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.44:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.82: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: #166309;
color: #166309;
border-color: #166309;
}
Tailwind CSS (with arbitrary values)
bg-[#166309]
text-[#166309]
border-[#166309]
// Example usage:
<div className="bg-[#166309]">