#38b321
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 | #38b321 | |
| RGB | rgb(56 179 33) | |
| HSL | hsl(110.55 68.87% 41.57%) | |
| OKLCH | oklch(0.67 0.21 141.05) | |
| CMYK | cmyk(68.72% 0% 81.56% 29.8%) | |
| Android | #ff38b321 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.74:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.63: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="#38b321"
Gradient stop
<stop stop-color="#38b321"/>
CSS variable + fill
:root { --c: #38b321; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #38b321; background-color: #38b321; bg-[#38b321]