#0c960c
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 | #0c960c | |
| RGB | rgb(12 150 12) | |
| HSL | hsl(120 85.19% 31.76%) | |
| OKLCH | oklch(0.58 0.19 142.58) | |
| CMYK | cmyk(92% 0% 92% 41.18%) | |
| Android | #ff0c960c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.90:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.38: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="#0c960c"
Gradient stop
<stop stop-color="#0c960c"/>
CSS variable + fill
:root { --c: #0c960c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0c960c; background-color: #0c960c; bg-[#0c960c]