Skip to content
Vectorlight.net

#397318

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

HEX
#397318
RGB
57, 115, 24
HSL
98.24°, 65.47%, 27.25%
OKLCH
0.5 0.14 136.83
Names
—
Lists

Codes

FormatValue
HEX#397318
RGBrgb(57 115 24)
HSLhsl(98.24 65.47% 27.25%)
OKLCHoklch(0.5 0.14 136.83)
CMYKcmyk(50.43% 0% 79.13% 54.9%)
Android#ff397318

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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