#40775f
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 | #40775f | |
| RGB | rgb(64 119 95) | |
| HSL | hsl(153.82 30.05% 35.88%) | |
| OKLCH | oklch(0.52 0.07 163.91) | |
| CMYK | cmyk(46.22% 0% 20.17% 53.33%) | |
| Android | #ff40775f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.02:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#40775f"
Gradient stop
<stop stop-color="#40775f"/>
CSS variable + fill
:root { --c: #40775f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40775f; background-color: #40775f; bg-[#40775f]