#667828
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 | #667828 | |
| RGB | rgb(102 120 40) | |
| HSL | hsl(73.5 50% 31.37%) | |
| OKLCH | oklch(0.54 0.11 120.92) | |
| CMYK | cmyk(15% 0% 66.67% 52.94%) | |
| Android | #ff667828 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28: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="#667828"
Gradient stop
<stop stop-color="#667828"/>
CSS variable + fill
:root { --c: #667828; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #667828; background-color: #667828; bg-[#667828]