#4e854d
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 | #4e854d | |
| RGB | rgb(78 133 77) | |
| HSL | hsl(118.93 26.67% 41.18%) | |
| OKLCH | oklch(0.56 0.1 143.69) | |
| CMYK | cmyk(41.35% 0% 42.11% 47.84%) | |
| Android | #ff4e854d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.78: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="#4e854d"
Gradient stop
<stop stop-color="#4e854d"/>
CSS variable + fill
:root { --c: #4e854d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4e854d; background-color: #4e854d; bg-[#4e854d]