#487f2a
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 | #487f2a | |
| RGB | rgb(72 127 42) | |
| HSL | hsl(98.82 50.3% 33.14%) | |
| OKLCH | oklch(0.54 0.13 136.34) | |
| CMYK | cmyk(43.31% 0% 66.93% 50.2%) | |
| Android | #ff487f2a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.83:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.34: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="#487f2a"
Gradient stop
<stop stop-color="#487f2a"/>
CSS variable + fill
:root { --c: #487f2a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #487f2a; background-color: #487f2a; bg-[#487f2a]