#408b28
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 | #408b28 | |
| RGB | rgb(64 139 40) | |
| HSL | hsl(105.45 55.31% 35.1%) | |
| OKLCH | oklch(0.57 0.15 139.16) | |
| CMYK | cmyk(53.96% 0% 71.22% 45.49%) | |
| Android | #ff408b28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#408b28"
Gradient stop
<stop stop-color="#408b28"/>
CSS variable + fill
:root { --c: #408b28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #408b28; background-color: #408b28; bg-[#408b28]