#428212
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 | #428212 | |
| RGB | rgb(66 130 18) | |
| HSL | hsl(94.29 75.68% 29.02%) | |
| OKLCH | oklch(0.54 0.15 135.82) | |
| CMYK | cmyk(49.23% 0% 86.15% 49.02%) | |
| Android | #ff428212 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.43: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="#428212"
Gradient stop
<stop stop-color="#428212"/>
CSS variable + fill
:root { --c: #428212; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #428212; background-color: #428212; bg-[#428212]