#42801b
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 | #42801b | |
| RGB | rgb(66 128 27) | |
| HSL | hsl(96.83 65.16% 30.39%) | |
| OKLCH | oklch(0.54 0.15 136.29) | |
| CMYK | cmyk(48.44% 0% 78.91% 49.8%) | |
| Android | #ff42801b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.33: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="#42801b"
Gradient stop
<stop stop-color="#42801b"/>
CSS variable + fill
:root { --c: #42801b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42801b; background-color: #42801b; bg-[#42801b]