Skip to content
Vectorlight.net

#398240

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

HEX
#398240
RGB
57, 130, 64
HSL
125.75°, 39.04%, 36.67%
OKLCH
0.54 0.12 145.47
Names
—
Lists

Codes

FormatValue
HEX#398240
RGBrgb(57 130 64)
HSLhsl(125.75 39.04% 36.67%)
OKLCHoklch(0.54 0.12 145.47)
CMYKcmyk(56.15% 0% 50.77% 49.02%)
Android#ff398240

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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