#0c876f
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 | #0c876f | |
| RGB | rgb(12 135 111) | |
| HSL | hsl(168.29 83.67% 28.82%) | |
| OKLCH | oklch(0.56 0.1 174.01) | |
| CMYK | cmyk(91.11% 0% 17.78% 47.06%) | |
| Android | #ff0c876f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.71: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="#0c876f"
Gradient stop
<stop stop-color="#0c876f"/>
CSS variable + fill
:root { --c: #0c876f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0c876f; background-color: #0c876f; bg-[#0c876f]