#668e4e
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 | #668e4e | |
| RGB | rgb(102 142 78) | |
| HSL | hsl(97.5 29.09% 43.14%) | |
| OKLCH | oklch(0.6 0.1 134.67) | |
| CMYK | cmyk(28.17% 0% 45.07% 44.31%) | |
| Android | #ff668e4e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#668e4e"
Gradient stop
<stop stop-color="#668e4e"/>
CSS variable + fill
:root { --c: #668e4e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #668e4e; background-color: #668e4e; bg-[#668e4e]