Skip to content
Vectorlight.net

#338229

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

HEX
#338229
RGB
51, 130, 41
HSL
113.26°, 52.05%, 33.53%
OKLCH
0.54 0.15 141.48
Names
—
Lists

Codes

FormatValue
HEX#338229
RGBrgb(51 130 41)
HSLhsl(113.26 52.05% 33.53%)
OKLCHoklch(0.54 0.15 141.48)
CMYKcmyk(60.77% 0% 68.46% 49.02%)
Android#ff338229

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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