#2b8250
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 | #2b8250 | |
| RGB | rgb(43 130 80) | |
| HSL | hsl(145.52 50.29% 33.92%) | |
| OKLCH | oklch(0.54 0.11 154.36) | |
| CMYK | cmyk(66.92% 0% 38.46% 49.02%) | |
| Android | #ff2b8250 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.41: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="#2b8250"
Gradient stop
<stop stop-color="#2b8250"/>
CSS variable + fill
:root { --c: #2b8250; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2b8250; background-color: #2b8250; bg-[#2b8250]