#40cec8
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 | #40cec8 | |
| RGB | rgb(64 206 200) | |
| HSL | hsl(177.46 59.17% 52.94%) | |
| OKLCH | oklch(0.78 0.12 190.86) | |
| CMYK | cmyk(68.93% 0% 2.91% 19.22%) | |
| Android | #ff40cec8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.93:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.88: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="#40cec8"
Gradient stop
<stop stop-color="#40cec8"/>
CSS variable + fill
:root { --c: #40cec8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40cec8; background-color: #40cec8; bg-[#40cec8]