Skip to content
Vectorlight.net

#34841f

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

HEX
#34841f
RGB
52, 132, 31
HSL
107.52°, 61.96%, 31.96%
OKLCH
0.54 0.16 140.02
Names
—
Lists

Codes

FormatValue
HEX#34841f
RGBrgb(52 132 31)
HSLhsl(107.52 61.96% 31.96%)
OKLCHoklch(0.54 0.16 140.02)
CMYKcmyk(60.61% 0% 76.52% 48.24%)
Android#ff34841f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #34841f;
background-color: #34841f;
bg-[#34841f]