#5fa856
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 | #5fa856 | |
| RGB | rgb(95 168 86) | |
| HSL | hsl(113.41 32.28% 49.8%) | |
| OKLCH | oklch(0.66 0.14 141.61) | |
| CMYK | cmyk(43.45% 0% 48.81% 34.12%) | |
| Android | #ff5fa856 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.90:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.22: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="#5fa856"
Gradient stop
<stop stop-color="#5fa856"/>
CSS variable + fill
:root { --c: #5fa856; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5fa856; background-color: #5fa856; bg-[#5fa856]