#488e40
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 | #488e40 | |
| RGB | rgb(72 142 64) | |
| HSL | hsl(113.85 37.86% 40.39%) | |
| OKLCH | oklch(0.58 0.13 141.7) | |
| CMYK | cmyk(49.3% 0% 54.93% 44.31%) | |
| Android | #ff488e40 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.21: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="#488e40"
Gradient stop
<stop stop-color="#488e40"/>
CSS variable + fill
:root { --c: #488e40; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #488e40; background-color: #488e40; bg-[#488e40]