#21775a
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 | #21775a | |
| RGB | rgb(33 119 90) | |
| HSL | hsl(159.77 56.58% 29.8%) | |
| OKLCH | oklch(0.51 0.09 166.13) | |
| CMYK | cmyk(72.27% 0% 24.37% 53.33%) | |
| Android | #ff21775a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.45:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.85: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="#21775a"
Gradient stop
<stop stop-color="#21775a"/>
CSS variable + fill
:root { --c: #21775a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #21775a; background-color: #21775a; bg-[#21775a]