#78cd31
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 | #78cd31 | |
| RGB | rgb(120 205 49) | |
| HSL | hsl(92.69 61.42% 49.8%) | |
| OKLCH | oklch(0.77 0.2 134.4) | |
| CMYK | cmyk(41.46% 0% 76.1% 19.61%) | |
| Android | #ff78cd31 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.57: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="#78cd31"
Gradient stop
<stop stop-color="#78cd31"/>
CSS variable + fill
:root { --c: #78cd31; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #78cd31; background-color: #78cd31; bg-[#78cd31]