#017948
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 | #017948 | |
| RGB | rgb(1 121 72) | |
| HSL | hsl(155.5 98.36% 23.92%) | |
| OKLCH | oklch(0.51 0.12 156.9) | |
| CMYK | cmyk(99.17% 0% 40.5% 52.55%) | |
| Android | #ff017948 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.82: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="#017948"
Gradient stop
<stop stop-color="#017948"/>
CSS variable + fill
:root { --c: #017948; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #017948; background-color: #017948; bg-[#017948]