#40e155
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 | #40e155 | |
| RGB | rgb(64 225 85) | |
| HSL | hsl(127.83 72.85% 56.67%) | |
| OKLCH | oklch(0.8 0.22 144.96) | |
| CMYK | cmyk(71.56% 0% 62.22% 11.76%) | |
| Android | #ff40e155 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.11: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="#40e155"
Gradient stop
<stop stop-color="#40e155"/>
CSS variable + fill
:root { --c: #40e155; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40e155; background-color: #40e155; bg-[#40e155]