Skip to content
Vectorlight.net

#338e02

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

HEX
#338e02
RGB
51, 142, 2
HSL
99°, 97.22%, 28.24%
OKLCH
0.57 0.18 138.89
Names
—
Lists

Codes

FormatValue
HEX#338e02
RGBrgb(51 142 2)
HSLhsl(99 97.22% 28.24%)
OKLCHoklch(0.57 0.18 138.89)
CMYKcmyk(64.08% 0% 98.59% 44.31%)
Android#ff338e02

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.01:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#338e02"
Gradient stop
<stop stop-color="#338e02"/>
CSS variable + fill
:root { --c: #338e02; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #338e02;
background-color: #338e02;
bg-[#338e02]