#2b6035
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 | #2b6035 | |
| RGB | rgb(43 96 53) | |
| HSL | hsl(131.32 38.13% 27.25%) | |
| OKLCH | oklch(0.44 0.09 147.98) | |
| CMYK | cmyk(55.21% 0% 44.79% 62.35%) | |
| Android | #ff2b6035 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.82:1
Fail AA normal text
Fail 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="#2b6035"
Gradient stop
<stop stop-color="#2b6035"/>
CSS variable + fill
:root { --c: #2b6035; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2b6035; background-color: #2b6035; bg-[#2b6035]