Skip to content
Vectorlight.net

#342f0f

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

HEX
#342f0f
RGB
52, 47, 15
HSL
51.89°, 55.22%, 13.14%
OKLCH
0.3 0.05 100.49
Names
—
Lists

Codes

FormatValue
HEX#342f0f
RGBrgb(52 47 15)
HSLhsl(51.89 55.22% 13.14%)
OKLCHoklch(0.3 0.05 100.49)
CMYKcmyk(0% 9.62% 71.15% 79.61%)
Android#ff342f0f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #342f0f;
background-color: #342f0f;
bg-[#342f0f]