#42f2bb
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 | #42f2bb | |
| RGB | rgb(66 242 187) | |
| HSL | hsl(161.25 87.13% 60.39%) | |
| OKLCH | oklch(0.86 0.16 167.07) | |
| CMYK | cmyk(72.73% 0% 22.73% 5.1%) | |
| Android | #ff42f2bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.43:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.65: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="#42f2bb"
Gradient stop
<stop stop-color="#42f2bb"/>
CSS variable + fill
:root { --c: #42f2bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42f2bb; background-color: #42f2bb; bg-[#42f2bb]