#52811e
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 | #52811e | |
| RGB | rgb(82 129 30) | |
| HSL | hsl(88.48 62.26% 31.18%) | |
| OKLCH | oklch(0.55 0.14 131.99) | |
| CMYK | cmyk(36.43% 0% 76.74% 49.41%) | |
| Android | #ff52811e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.51: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="#52811e"
Gradient stop
<stop stop-color="#52811e"/>
CSS variable + fill
:root { --c: #52811e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #52811e; background-color: #52811e; bg-[#52811e]