#42b2bf
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 | #42b2bf | |
| RGB | rgb(66 178 191) | |
| HSL | hsl(186.24 49.41% 50.39%) | |
| OKLCH | oklch(0.71 0.1 206.01) | |
| CMYK | cmyk(65.45% 6.81% 0% 25.1%) | |
| Android | #ff42b2bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.51:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.35: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="#42b2bf"
Gradient stop
<stop stop-color="#42b2bf"/>
CSS variable + fill
:root { --c: #42b2bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42b2bf; background-color: #42b2bf; bg-[#42b2bf]