#018540
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 | #018540 | |
| RGB | rgb(1 133 64) | |
| HSL | hsl(148.64 98.51% 26.27%) | |
| OKLCH | oklch(0.54 0.14 151.26) | |
| CMYK | cmyk(99.25% 0% 51.88% 47.84%) | |
| Android | #ff018540 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.43: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="#018540"
Gradient stop
<stop stop-color="#018540"/>
CSS variable + fill
:root { --c: #018540; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #018540; background-color: #018540; bg-[#018540]