#319831
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 | #319831 | |
| RGB | rgb(49 152 49) | |
| HSL | hsl(120 51.24% 39.41%) | |
| OKLCH | oklch(0.6 0.17 143.1) | |
| CMYK | cmyk(67.76% 0% 67.76% 40.39%) | |
| Android | #ff319831 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.70:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.66: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="#319831"
Gradient stop
<stop stop-color="#319831"/>
CSS variable + fill
:root { --c: #319831; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #319831; background-color: #319831; bg-[#319831]