#8ba145
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 | #8ba145 | |
| RGB | rgb(139 161 69) | |
| HSL | hsl(74.35 40% 45.1%) | |
| OKLCH | oklch(0.67 0.12 120.99) | |
| CMYK | cmyk(13.66% 0% 57.14% 36.86%) | |
| Android | #ff8ba145 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.88:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.28: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="#8ba145"
Gradient stop
<stop stop-color="#8ba145"/>
CSS variable + fill
:root { --c: #8ba145; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8ba145; background-color: #8ba145; bg-[#8ba145]