#4bc340
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 | #4bc340 | |
| RGB | rgb(75 195 64) | |
| HSL | hsl(114.96 52.19% 50.78%) | |
| OKLCH | oklch(0.72 0.2 141.93) | |
| CMYK | cmyk(61.54% 0% 67.18% 23.53%) | |
| Android | #ff4bc340 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.28:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.17: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="#4bc340"
Gradient stop
<stop stop-color="#4bc340"/>
CSS variable + fill
:root { --c: #4bc340; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4bc340; background-color: #4bc340; bg-[#4bc340]