#5fa96d
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 | #5fa96d | |
| RGB | rgb(95 169 109) | |
| HSL | hsl(131.35 30.08% 51.76%) | |
| OKLCH | oklch(0.67 0.12 148.68) | |
| CMYK | cmyk(43.79% 0% 35.5% 33.73%) | |
| Android | #ff5fa96d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.84:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.38: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="#5fa96d"
Gradient stop
<stop stop-color="#5fa96d"/>
CSS variable + fill
:root { --c: #5fa96d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5fa96d; background-color: #5fa96d; bg-[#5fa96d]