#2b985c
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 | #2b985c | |
| RGB | rgb(43 152 92) | |
| HSL | hsl(146.97 55.9% 38.24%) | |
| OKLCH | oklch(0.6 0.13 154.51) | |
| CMYK | cmyk(71.71% 0% 39.47% 40.39%) | |
| Android | #ff2b985c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.65:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.74: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="#2b985c"
Gradient stop
<stop stop-color="#2b985c"/>
CSS variable + fill
:root { --c: #2b985c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2b985c; background-color: #2b985c; bg-[#2b985c]