#52870b
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 | #52870b | |
| RGB | rgb(82 135 11) | |
| HSL | hsl(85.65 84.93% 28.63%) | |
| OKLCH | oklch(0.56 0.15 131.99) | |
| CMYK | cmyk(39.26% 0% 91.85% 47.06%) | |
| Android | #ff52870b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.82: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="#52870b"
Gradient stop
<stop stop-color="#52870b"/>
CSS variable + fill
:root { --c: #52870b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #52870b; background-color: #52870b; bg-[#52870b]