#2b980e
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 | #2b980e | |
| RGB | rgb(43 152 14) | |
| HSL | hsl(107.39 83.13% 32.55%) | |
| OKLCH | oklch(0.6 0.19 140.69) | |
| CMYK | cmyk(71.71% 0% 90.79% 40.39%) | |
| Android | #ff2b980e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.74:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.60: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="#2b980e"
Gradient stop
<stop stop-color="#2b980e"/>
CSS variable + fill
:root { --c: #2b980e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2b980e; background-color: #2b980e; bg-[#2b980e]