#0c8a50
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 | #0c8a50 | |
| RGB | rgb(12 138 80) | |
| HSL | hsl(152.38 84% 29.41%) | |
| OKLCH | oklch(0.56 0.13 155.35) | |
| CMYK | cmyk(91.3% 0% 42.03% 45.88%) | |
| Android | #ff0c8a50 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.40:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.76: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="#0c8a50"
Gradient stop
<stop stop-color="#0c8a50"/>
CSS variable + fill
:root { --c: #0c8a50; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0c8a50; background-color: #0c8a50; bg-[#0c8a50]