#388a2f
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 | #388a2f | |
| RGB | rgb(56 138 47) | |
| HSL | hsl(114.07 49.19% 36.27%) | |
| OKLCH | oklch(0.56 0.15 141.7) | |
| CMYK | cmyk(59.42% 0% 65.94% 45.88%) | |
| Android | #ff388a2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.33:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.84: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="#388a2f"
Gradient stop
<stop stop-color="#388a2f"/>
CSS variable + fill
:root { --c: #388a2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #388a2f; background-color: #388a2f; bg-[#388a2f]