#0c8012
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 | #0c8012 | |
| RGB | rgb(12 128 18) | |
| HSL | hsl(123.1 82.86% 27.45%) | |
| OKLCH | oklch(0.52 0.17 143.02) | |
| CMYK | cmyk(90.63% 0% 85.94% 49.8%) | |
| Android | #ff0c8012 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.10:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.11: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="#0c8012"
Gradient stop
<stop stop-color="#0c8012"/>
CSS variable + fill
:root { --c: #0c8012; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0c8012; background-color: #0c8012; bg-[#0c8012]