Skip to content
Vectorlight.net

#397a26

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

HEX
#397a26
RGB
57, 122, 38
HSL
106.43°, 52.5%, 31.37%
OKLCH
0.52 0.14 139.38
Names
—
Lists

Codes

FormatValue
HEX#397a26
RGBrgb(57 122 38)
HSLhsl(106.43 52.5% 31.37%)
OKLCHoklch(0.52 0.14 139.38)
CMYKcmyk(53.28% 0% 68.85% 52.16%)
Android#ff397a26

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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