#9cb552
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 | #9cb552 | |
| RGB | rgb(156 181 82) | |
| HSL | hsl(75.15 40.08% 51.57%) | |
| OKLCH | oklch(0.73 0.13 121.45) | |
| CMYK | cmyk(13.81% 0% 54.7% 29.02%) | |
| Android | #ff9cb552 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.29:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.14:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#9cb552"
Gradient stop
<stop stop-color="#9cb552"/>
CSS variable + fill
:root { --c: #9cb552; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9cb552; background-color: #9cb552; bg-[#9cb552]