#42a596
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 | #42a596 | |
| RGB | rgb(66 165 150) | |
| HSL | hsl(170.91 42.86% 45.29%) | |
| OKLCH | oklch(0.66 0.09 181.67) | |
| CMYK | cmyk(60% 0% 9.09% 35.29%) | |
| Android | #ff42a596 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.97:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.05: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="#42a596"
Gradient stop
<stop stop-color="#42a596"/>
CSS variable + fill
:root { --c: #42a596; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42a596; background-color: #42a596; bg-[#42a596]