#166808
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #166808 | |
| RGB | rgb(22 104 8) | |
| HSL | hsl(111.25 85.71% 21.96%) | |
| OKLCH | oklch(0.45 0.14 141.39) | |
| CMYK | cmyk(78.85% 0% 92.31% 59.22%) | |
| Android | #ff166808 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.01:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#166808"
Gradient stop
<stop stop-color="#166808"/>
CSS variable + fill
:root { --c: #166808; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #166808; background-color: #166808; bg-[#166808]