Skip to content
Vectorlight.net

#337012

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

HEX
#337012
RGB
51, 112, 18
HSL
98.94°, 72.31%, 25.49%
OKLCH
0.49 0.14 137.45
Names
—
Lists

Codes

FormatValue
HEX#337012
RGBrgb(51 112 18)
HSLhsl(98.94 72.31% 25.49%)
OKLCHoklch(0.49 0.14 137.45)
CMYKcmyk(54.46% 0% 83.93% 56.08%)
Android#ff337012

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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