#528138
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 | #528138 | |
| RGB | rgb(82 129 56) | |
| HSL | hsl(98.63 39.46% 36.27%) | |
| OKLCH | oklch(0.55 0.12 135.71) | |
| CMYK | cmyk(36.43% 0% 56.59% 49.41%) | |
| Android | #ff528138 |
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="#528138"
Gradient stop
<stop stop-color="#528138"/>
CSS variable + fill
:root { --c: #528138; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #528138; background-color: #528138; bg-[#528138]