#4fa770
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 | #4fa770 | |
| RGB | rgb(79 167 112) | |
| HSL | hsl(142.5 35.77% 48.24%) | |
| OKLCH | oklch(0.66 0.12 154.06) | |
| CMYK | cmyk(52.69% 0% 32.93% 34.51%) | |
| Android | #ff4fa770 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.96:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.09: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="#4fa770"
Gradient stop
<stop stop-color="#4fa770"/>
CSS variable + fill
:root { --c: #4fa770; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4fa770; background-color: #4fa770; bg-[#4fa770]