#5fc51c
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 | #5fc51c | |
| RGB | rgb(95 197 28) | |
| HSL | hsl(96.21 75.11% 44.12%) | |
| OKLCH | oklch(0.73 0.21 136.89) | |
| CMYK | cmyk(51.78% 0% 85.79% 22.75%) | |
| Android | #ff5fc51c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.48: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="#5fc51c"
Gradient stop
<stop stop-color="#5fc51c"/>
CSS variable + fill
:root { --c: #5fc51c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5fc51c; background-color: #5fc51c; bg-[#5fc51c]