#166f37
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 | #166f37 | |
| RGB | rgb(22 111 55) | |
| HSL | hsl(142.25 66.92% 26.08%) | |
| OKLCH | oklch(0.48 0.12 150.63) | |
| CMYK | cmyk(80.18% 0% 50.45% 56.47%) | |
| Android | #ff166f37 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.36: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="#166f37"
Gradient stop
<stop stop-color="#166f37"/>
CSS variable + fill
:root { --c: #166f37; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #166f37; background-color: #166f37; bg-[#166f37]