#11981f
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 | #11981f | |
| RGB | rgb(17 152 31) | |
| HSL | hsl(126.22 79.88% 33.14%) | |
| OKLCH | oklch(0.59 0.19 143.57) | |
| CMYK | cmyk(88.82% 0% 79.61% 40.39%) | |
| Android | #ff11981f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.79:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.53:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#11981f"
Gradient stop
<stop stop-color="#11981f"/>
CSS variable + fill
:root { --c: #11981f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #11981f; background-color: #11981f; bg-[#11981f]