#5b862f
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 | #5b862f | |
| RGB | rgb(91 134 47) | |
| HSL | hsl(89.66 48.07% 35.49%) | |
| OKLCH | oklch(0.57 0.13 131.66) | |
| CMYK | cmyk(32.09% 0% 64.93% 47.45%) | |
| Android | #ff5b862f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.89: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="#5b862f"
Gradient stop
<stop stop-color="#5b862f"/>
CSS variable + fill
:root { --c: #5b862f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5b862f; background-color: #5b862f; bg-[#5b862f]