#38d522
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 | #38d522 | |
| RGB | rgb(56 213 34) | |
| HSL | hsl(112.63 72.47% 48.43%) | |
| OKLCH | oklch(0.76 0.24 141.58) | |
| CMYK | cmyk(73.71% 0% 84.04% 16.47%) | |
| Android | #ff38d522 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.96:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.70: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="#38d522"
Gradient stop
<stop stop-color="#38d522"/>
CSS variable + fill
:root { --c: #38d522; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #38d522; background-color: #38d522; bg-[#38d522]