#4c876d
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 | #4c876d | |
| RGB | rgb(76 135 109) | |
| HSL | hsl(153.56 27.96% 41.37%) | |
| OKLCH | oklch(0.58 0.07 163.92) | |
| CMYK | cmyk(43.7% 0% 19.26% 47.06%) | |
| Android | #ff4c876d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.20:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.99: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="#4c876d"
Gradient stop
<stop stop-color="#4c876d"/>
CSS variable + fill
:root { --c: #4c876d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4c876d; background-color: #4c876d; bg-[#4c876d]