#31ca76
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 | #31ca76 | |
| RGB | rgb(49 202 118) | |
| HSL | hsl(147.06 60.96% 49.22%) | |
| OKLCH | oklch(0.74 0.17 153.68) | |
| CMYK | cmyk(75.74% 0% 41.58% 20.78%) | |
| Android | #ff31ca76 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.84: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="#31ca76"
Gradient stop
<stop stop-color="#31ca76"/>
CSS variable + fill
:root { --c: #31ca76; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #31ca76; background-color: #31ca76; bg-[#31ca76]