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