#97e318
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 | #97e318 | |
| RGB | rgb(151 227 24) | |
| HSL | hsl(82.46 80.88% 49.22%) | |
| OKLCH | oklch(0.83 0.22 130.12) | |
| CMYK | cmyk(33.48% 0% 89.43% 10.98%) | |
| Android | #ff97e318 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.31: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="#97e318"
Gradient stop
<stop stop-color="#97e318"/>
CSS variable + fill
:root { --c: #97e318; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #97e318; background-color: #97e318; bg-[#97e318]