#40bd82
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 | #40bd82 | |
| RGB | rgb(64 189 130) | |
| HSL | hsl(151.68 49.41% 49.61%) | |
| OKLCH | oklch(0.71 0.14 158.85) | |
| CMYK | cmyk(66.14% 0% 31.22% 25.88%) | |
| Android | #ff40bd82 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.38:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.81: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="#40bd82"
Gradient stop
<stop stop-color="#40bd82"/>
CSS variable + fill
:root { --c: #40bd82; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40bd82; background-color: #40bd82; bg-[#40bd82]