#508656
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 | #508656 | |
| RGB | rgb(80 134 86) | |
| HSL | hsl(126.67 25.23% 41.96%) | |
| OKLCH | oklch(0.57 0.09 146.82) | |
| CMYK | cmyk(40.3% 0% 35.82% 47.45%) | |
| Android | #ff508656 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.88: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="#508656"
Gradient stop
<stop stop-color="#508656"/>
CSS variable + fill
:root { --c: #508656; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #508656; background-color: #508656; bg-[#508656]