#22704f
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 | #22704f | |
| RGB | rgb(34 112 79) | |
| HSL | hsl(154.62 53.42% 28.63%) | |
| OKLCH | oklch(0.49 0.09 161.39) | |
| CMYK | cmyk(69.64% 0% 29.46% 56.08%) | |
| Android | #ff22704f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.00:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.49: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="#22704f"
Gradient stop
<stop stop-color="#22704f"/>
CSS variable + fill
:root { --c: #22704f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #22704f; background-color: #22704f; bg-[#22704f]