#397257
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 | #397257 | |
| RGB | rgb(57 114 87) | |
| HSL | hsl(151.58 33.33% 33.53%) | |
| OKLCH | oklch(0.51 0.07 161.47) | |
| CMYK | cmyk(50% 0% 23.68% 55.29%) | |
| Android | #ff397257 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.71: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="#397257"
Gradient stop
<stop stop-color="#397257"/>
CSS variable + fill
:root { --c: #397257; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #397257; background-color: #397257; bg-[#397257]