#949042
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 | #949042 | |
| RGB | rgb(148 144 66) | |
| HSL | hsl(57.07 38.32% 41.96%) | |
| OKLCH | oklch(0.64 0.1 106.23) | |
| CMYK | cmyk(0% 2.7% 55.41% 41.96%) | |
| Android | #ff949042 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.31:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.32: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="#949042"
Gradient stop
<stop stop-color="#949042"/>
CSS variable + fill
:root { --c: #949042; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #949042; background-color: #949042; bg-[#949042]