#4fb952
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 | #4fb952 | |
| RGB | rgb(79 185 82) | |
| HSL | hsl(121.7 43.09% 51.76%) | |
| OKLCH | oklch(0.7 0.17 143.93) | |
| CMYK | cmyk(57.3% 0% 55.68% 27.45%) | |
| Android | #ff4fb952 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.50:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.39: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="#4fb952"
Gradient stop
<stop stop-color="#4fb952"/>
CSS variable + fill
:root { --c: #4fb952; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4fb952; background-color: #4fb952; bg-[#4fb952]