#31e178
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 | #31e178 | |
| RGB | rgb(49 225 120) | |
| HSL | hsl(144.2 74.58% 53.73%) | |
| OKLCH | oklch(0.8 0.2 151.36) | |
| CMYK | cmyk(78.22% 0% 46.67% 11.76%) | |
| Android | #ff31e178 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.17: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="#31e178"
Gradient stop
<stop stop-color="#31e178"/>
CSS variable + fill
:root { --c: #31e178; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #31e178; background-color: #31e178; bg-[#31e178]