#40da98
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 | #40da98 | |
| RGB | rgb(64 218 152) | |
| HSL | hsl(154.29 67.54% 55.29%) | |
| OKLCH | oklch(0.79 0.16 160.28) | |
| CMYK | cmyk(70.64% 0% 30.28% 14.51%) | |
| Android | #ff40da98 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.79:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.69: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="#40da98"
Gradient stop
<stop stop-color="#40da98"/>
CSS variable + fill
:root { --c: #40da98; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40da98; background-color: #40da98; bg-[#40da98]