#42986c
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 | #42986c | |
| RGB | rgb(66 152 108) | |
| HSL | hsl(149.3 39.45% 42.75%) | |
| OKLCH | oklch(0.61 0.11 158.5) | |
| CMYK | cmyk(56.58% 0% 28.95% 40.39%) | |
| Android | #ff42986c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.53:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.93: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="#42986c"
Gradient stop
<stop stop-color="#42986c"/>
CSS variable + fill
:root { --c: #42986c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42986c; background-color: #42986c; bg-[#42986c]