Skip to content
Vectorlight.net

#336c0d

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

HEX
#336c0d
RGB
51, 108, 13
HSL
96°, 78.51%, 23.73%
OKLCH
0.47 0.14 136.58
Names
—
Lists

Codes

FormatValue
HEX#336c0d
RGBrgb(51 108 13)
HSLhsl(96 78.51% 23.73%)
OKLCHoklch(0.47 0.14 136.58)
CMYKcmyk(52.78% 0% 87.96% 57.65%)
Android#ff336c0d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #336c0d;
background-color: #336c0d;
bg-[#336c0d]