#528f22
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 | #528f22 | |
| RGB | rgb(82 143 34) | |
| HSL | hsl(93.58 61.58% 34.71%) | |
| OKLCH | oklch(0.59 0.15 134.66) | |
| CMYK | cmyk(42.66% 0% 76.22% 43.92%) | |
| Android | #ff528f22 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.95:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.31: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="#528f22"
Gradient stop
<stop stop-color="#528f22"/>
CSS variable + fill
:root { --c: #528f22; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #528f22; background-color: #528f22; bg-[#528f22]