#397b37
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 | #397b37 | |
| RGB | rgb(57 123 55) | |
| HSL | hsl(118.24 38.2% 34.9%) | |
| OKLCH | oklch(0.52 0.12 143.06) | |
| CMYK | cmyk(53.66% 0% 55.28% 51.76%) | |
| Android | #ff397b37 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.16:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.06:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#397b37"
Gradient stop
<stop stop-color="#397b37"/>
CSS variable + fill
:root { --c: #397b37; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #397b37; background-color: #397b37; bg-[#397b37]