#318521
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 | #318521 | |
| RGB | rgb(49 133 33) | |
| HSL | hsl(110.4 60.24% 32.55%) | |
| OKLCH | oklch(0.55 0.16 140.79) | |
| CMYK | cmyk(63.16% 0% 75.19% 47.84%) | |
| Android | #ff318521 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.50:1
Pass 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="#318521"
Gradient stop
<stop stop-color="#318521"/>
CSS variable + fill
:root { --c: #318521; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #318521; background-color: #318521; bg-[#318521]