#54812e
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 | #54812e | |
| RGB | rgb(84 129 46) | |
| HSL | hsl(92.53 47.43% 34.31%) | |
| OKLCH | oklch(0.55 0.12 133.15) | |
| CMYK | cmyk(34.88% 0% 64.34% 49.41%) | |
| Android | #ff54812e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.55:1
Pass 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="#54812e"
Gradient stop
<stop stop-color="#54812e"/>
CSS variable + fill
:root { --c: #54812e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #54812e; background-color: #54812e; bg-[#54812e]