Skip to content
Vectorlight.net

#397540

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#397540
RGB
57, 117, 64
HSL
127°, 34.48%, 34.12%
OKLCH
0.51 0.1 146.3
Names
—
Lists

Codes

FormatValue
HEX#397540
RGBrgb(57 117 64)
HSLhsl(127 34.48% 34.12%)
OKLCHoklch(0.51 0.1 146.3)
CMYKcmyk(51.28% 0% 45.3% 54.12%)
Android#ff397540

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.79:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#397540"
Gradient stop
<stop stop-color="#397540"/>
CSS variable + fill
:root { --c: #397540; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #397540;
background-color: #397540;
bg-[#397540]