#5fc017
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 | #5fc017 | |
| RGB | rgb(95 192 23) | |
| HSL | hsl(94.44 78.6% 42.16%) | |
| OKLCH | oklch(0.72 0.21 136.36) | |
| CMYK | cmyk(50.52% 0% 88.02% 24.71%) | |
| Android | #ff5fc017 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.32:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.03: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="#5fc017"
Gradient stop
<stop stop-color="#5fc017"/>
CSS variable + fill
:root { --c: #5fc017; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5fc017; background-color: #5fc017; bg-[#5fc017]