#40c643
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 | #40c643 | |
| RGB | rgb(64 198 67) | |
| HSL | hsl(121.34 54.03% 51.37%) | |
| OKLCH | oklch(0.73 0.21 143.39) | |
| CMYK | cmyk(67.68% 0% 66.16% 22.35%) | |
| Android | #ff40c643 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.37: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="#40c643"
Gradient stop
<stop stop-color="#40c643"/>
CSS variable + fill
:root { --c: #40c643; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40c643; background-color: #40c643; bg-[#40c643]