#51e124
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 | #51e124 | |
| RGB | rgb(81 225 36) | |
| HSL | hsl(105.71 75.9% 51.18%) | |
| OKLCH | oklch(0.8 0.25 140.02) | |
| CMYK | cmyk(64% 0% 84% 11.76%) | |
| Android | #ff51e124 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.14: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="#51e124"
Gradient stop
<stop stop-color="#51e124"/>
CSS variable + fill
:root { --c: #51e124; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #51e124; background-color: #51e124; bg-[#51e124]