#558242
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 | #558242 | |
| RGB | rgb(85 130 66) | |
| HSL | hsl(102.19 32.65% 38.43%) | |
| OKLCH | oklch(0.56 0.11 137.07) | |
| CMYK | cmyk(34.62% 0% 49.23% 49.02%) | |
| Android | #ff558242 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65: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="#558242"
Gradient stop
<stop stop-color="#558242"/>
CSS variable + fill
:root { --c: #558242; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #558242; background-color: #558242; bg-[#558242]