#40cc15
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 | #40cc15 | |
| RGB | rgb(64 204 21) | |
| HSL | hsl(105.9 81.33% 44.12%) | |
| OKLCH | oklch(0.74 0.23 140.39) | |
| CMYK | cmyk(68.63% 0% 89.71% 20%) | |
| Android | #ff40cc15 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.12:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.86: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="#40cc15"
Gradient stop
<stop stop-color="#40cc15"/>
CSS variable + fill
:root { --c: #40cc15; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40cc15; background-color: #40cc15; bg-[#40cc15]