#226552
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 | #226552 | |
| RGB | rgb(34 101 82) | |
| HSL | hsl(162.99 49.63% 26.47%) | |
| OKLCH | oklch(0.46 0.07 170.92) | |
| CMYK | cmyk(66.34% 0% 18.81% 60.39%) | |
| Android | #ff226552 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.05: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="#226552"
Gradient stop
<stop stop-color="#226552"/>
CSS variable + fill
:root { --c: #226552; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #226552; background-color: #226552; bg-[#226552]