Hex Color #162416 - Custom Color
Color Codes
HEX
#162416
RGB
rgb(22, 36, 22)
HSL
hsl(120, 24%, 11%)
CMYK
cmyk(39%, 0%, 39%, 86%)
HSV
hsv(120, 39%, 14%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 16.18:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.30: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: #162416;
color: #162416;
border-color: #162416;
}
Tailwind CSS (with arbitrary values)
bg-[#162416]
text-[#162416]
border-[#162416]
// Example usage:
<div className="bg-[#162416]">