#2b8626
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 | #2b8626 | |
| RGB | rgb(43 134 38) | |
| HSL | hsl(116.88 55.81% 33.73%) | |
| OKLCH | oklch(0.55 0.16 142.36) | |
| CMYK | cmyk(67.91% 0% 71.64% 47.45%) | |
| Android | #ff2b8626 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass 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="#2b8626"
Gradient stop
<stop stop-color="#2b8626"/>
CSS variable + fill
:root { --c: #2b8626; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2b8626; background-color: #2b8626; bg-[#2b8626]