#226752
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 | #226752 | |
| RGB | rgb(34 103 82) | |
| HSL | hsl(161.74 50.36% 26.86%) | |
| OKLCH | oklch(0.46 0.08 169.34) | |
| CMYK | cmyk(66.99% 0% 20.39% 59.61%) | |
| Android | #ff226752 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.12: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="#226752"
Gradient stop
<stop stop-color="#226752"/>
CSS variable + fill
:root { --c: #226752; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #226752; background-color: #226752; bg-[#226752]