#40684e
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 | #40684e | |
| RGB | rgb(64 104 78) | |
| HSL | hsl(141 23.81% 32.94%) | |
| OKLCH | oklch(0.48 0.06 154.86) | |
| CMYK | cmyk(38.46% 0% 25% 59.22%) | |
| Android | #ff40684e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.34:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.30: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="#40684e"
Gradient stop
<stop stop-color="#40684e"/>
CSS variable + fill
:root { --c: #40684e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40684e; background-color: #40684e; bg-[#40684e]