#216228
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 | #216228 | |
| RGB | rgb(33 98 40) | |
| HSL | hsl(126.46 49.62% 25.69%) | |
| OKLCH | oklch(0.44 0.11 145.21) | |
| CMYK | cmyk(66.33% 0% 59.18% 61.57%) | |
| Android | #ff216228 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.38:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.84:1
Fail AA normal text
Fail 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="#216228"
Gradient stop
<stop stop-color="#216228"/>
CSS variable + fill
:root { --c: #216228; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #216228; background-color: #216228; bg-[#216228]