#0cc770
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 | #0cc770 | |
| RGB | rgb(12 199 112) | |
| HSL | hsl(152.09 88.63% 41.37%) | |
| OKLCH | oklch(0.73 0.18 154.08) | |
| CMYK | cmyk(93.97% 0% 43.72% 21.96%) | |
| Android | #ff0cc770 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.22:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.41: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="#0cc770"
Gradient stop
<stop stop-color="#0cc770"/>
CSS variable + fill
:root { --c: #0cc770; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0cc770; background-color: #0cc770; bg-[#0cc770]