#40cc10
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 | #40cc10 | |
| RGB | rgb(64 204 16) | |
| HSL | hsl(104.68 85.45% 43.14%) | |
| OKLCH | oklch(0.74 0.24 140.25) | |
| CMYK | cmyk(68.63% 0% 92.16% 20%) | |
| Android | #ff40cc10 |
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="#40cc10"
Gradient stop
<stop stop-color="#40cc10"/>
CSS variable + fill
:root { --c: #40cc10; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40cc10; background-color: #40cc10; bg-[#40cc10]