#318031
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 | #318031 | |
| RGB | rgb(49 128 49) | |
| HSL | hsl(120 44.63% 34.71%) | |
| OKLCH | oklch(0.53 0.14 143.33) | |
| CMYK | cmyk(61.72% 0% 61.72% 49.8%) | |
| Android | #ff318031 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.26: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="#318031"
Gradient stop
<stop stop-color="#318031"/>
CSS variable + fill
:root { --c: #318031; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #318031; background-color: #318031; bg-[#318031]