#428131
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 | #428131 | |
| RGB | rgb(66 129 49) | |
| HSL | hsl(107.25 44.94% 34.9%) | |
| OKLCH | oklch(0.54 0.13 139.49) | |
| CMYK | cmyk(48.84% 0% 62.02% 49.41%) | |
| Android | #ff428131 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.41: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="#428131"
Gradient stop
<stop stop-color="#428131"/>
CSS variable + fill
:root { --c: #428131; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #428131; background-color: #428131; bg-[#428131]