#488b42
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 | #488b42 | |
| RGB | rgb(72 139 66) | |
| HSL | hsl(115.07 35.61% 40.2%) | |
| OKLCH | oklch(0.57 0.13 142.13) | |
| CMYK | cmyk(48.2% 0% 52.52% 45.49%) | |
| Android | #ff488b42 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.04: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="#488b42"
Gradient stop
<stop stop-color="#488b42"/>
CSS variable + fill
:root { --c: #488b42; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #488b42; background-color: #488b42; bg-[#488b42]