#4e902f
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 | #4e902f | |
| RGB | rgb(78 144 47) | |
| HSL | hsl(100.82 50.79% 37.45%) | |
| OKLCH | oklch(0.59 0.15 137.25) | |
| CMYK | cmyk(45.83% 0% 67.36% 43.53%) | |
| Android | #ff4e902f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.92:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.35: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="#4e902f"
Gradient stop
<stop stop-color="#4e902f"/>
CSS variable + fill
:root { --c: #4e902f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4e902f; background-color: #4e902f; bg-[#4e902f]