#40da1b
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 | #40da1b | |
| RGB | rgb(64 218 27) | |
| HSL | hsl(108.38 77.96% 48.04%) | |
| OKLCH | oklch(0.78 0.25 140.86) | |
| CMYK | cmyk(70.64% 0% 87.61% 14.51%) | |
| Android | #ff40da1b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.86:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.26: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="#40da1b"
Gradient stop
<stop stop-color="#40da1b"/>
CSS variable + fill
:root { --c: #40da1b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40da1b; background-color: #40da1b; bg-[#40da1b]