#0c8a11
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 | #0c8a11 | |
| RGB | rgb(12 138 17) | |
| HSL | hsl(122.38 84% 29.41%) | |
| OKLCH | oklch(0.55 0.18 142.87) | |
| CMYK | cmyk(91.3% 0% 87.68% 45.88%) | |
| Android | #ff0c8a11 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65: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="#0c8a11"
Gradient stop
<stop stop-color="#0c8a11"/>
CSS variable + fill
:root { --c: #0c8a11; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0c8a11; background-color: #0c8a11; bg-[#0c8a11]