#54872e
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 | #54872e | |
| RGB | rgb(84 135 46) | |
| HSL | hsl(94.38 49.17% 35.49%) | |
| OKLCH | oklch(0.57 0.13 134.23) | |
| CMYK | cmyk(37.78% 0% 65.93% 47.06%) | |
| Android | #ff54872e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.88: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="#54872e"
Gradient stop
<stop stop-color="#54872e"/>
CSS variable + fill
:root { --c: #54872e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #54872e; background-color: #54872e; bg-[#54872e]