Skip to content
Vectorlight.net

#397a34

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

HEX
#397a34
RGB
57, 122, 52
HSL
115.71°, 40.23%, 34.12%
OKLCH
0.52 0.12 142.27
Names
—
Lists

Codes

FormatValue
HEX#397a34
RGBrgb(57 122 52)
HSLhsl(115.71 40.23% 34.12%)
OKLCHoklch(0.52 0.12 142.27)
CMYKcmyk(53.28% 0% 57.38% 52.16%)
Android#ff397a34

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.00: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="#397a34"
Gradient stop
<stop stop-color="#397a34"/>
CSS variable + fill
:root { --c: #397a34; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #397a34;
background-color: #397a34;
bg-[#397a34]