#4c745f
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 | #4c745f | |
| RGB | rgb(76 116 95) | |
| HSL | hsl(148.5 20.83% 37.65%) | |
| OKLCH | oklch(0.52 0.06 160.72) | |
| CMYK | cmyk(34.48% 0% 18.1% 54.51%) | |
| Android | #ff4c745f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#4c745f"
Gradient stop
<stop stop-color="#4c745f"/>
CSS variable + fill
:root { --c: #4c745f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4c745f; background-color: #4c745f; bg-[#4c745f]