Skip to content
Vectorlight.net

#398018

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

HEX
#398018
RGB
57, 128, 24
HSL
100.96°, 68.42%, 29.8%
OKLCH
0.53 0.15 138.1
Names
—
Lists

Codes

FormatValue
HEX#398018
RGBrgb(57 128 24)
HSLhsl(100.96 68.42% 29.8%)
OKLCHoklch(0.53 0.15 138.1)
CMYKcmyk(55.47% 0% 81.25% 49.8%)
Android#ff398018

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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