#4bc502
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 | #4bc502 | |
| RGB | rgb(75 197 2) | |
| HSL | hsl(97.54 97.99% 39.02%) | |
| OKLCH | oklch(0.73 0.23 138.73) | |
| CMYK | cmyk(61.93% 0% 98.98% 22.75%) | |
| Android | #ff4bc502 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.26:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.28: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="#4bc502"
Gradient stop
<stop stop-color="#4bc502"/>
CSS variable + fill
:root { --c: #4bc502; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4bc502; background-color: #4bc502; bg-[#4bc502]