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