#40da4d
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 | #40da4d | |
| RGB | rgb(64 218 77) | |
| HSL | hsl(125.06 67.54% 55.29%) | |
| OKLCH | oklch(0.78 0.22 144.21) | |
| CMYK | cmyk(70.64% 0% 64.68% 14.51%) | |
| Android | #ff40da4d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.84:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.35: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="#40da4d"
Gradient stop
<stop stop-color="#40da4d"/>
CSS variable + fill
:root { --c: #40da4d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40da4d; background-color: #40da4d; bg-[#40da4d]