#528a2d
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 | #528a2d | |
| RGB | rgb(82 138 45) | |
| HSL | hsl(96.13 50.82% 35.88%) | |
| OKLCH | oklch(0.57 0.14 135.18) | |
| CMYK | cmyk(40.58% 0% 67.39% 45.88%) | |
| Android | #ff528a2d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.17:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.03: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="#528a2d"
Gradient stop
<stop stop-color="#528a2d"/>
CSS variable + fill
:root { --c: #528a2d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #528a2d; background-color: #528a2d; bg-[#528a2d]