#226b2f
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 | #226b2f | |
| RGB | rgb(34 107 47) | |
| HSL | hsl(130.68 51.77% 27.65%) | |
| OKLCH | oklch(0.47 0.12 146.57) | |
| CMYK | cmyk(68.22% 0% 56.07% 58.04%) | |
| Android | #ff226b2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.21: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="#226b2f"
Gradient stop
<stop stop-color="#226b2f"/>
CSS variable + fill
:root { --c: #226b2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #226b2f; background-color: #226b2f; bg-[#226b2f]