Skip to content
Vectorlight.net

#342f0b

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

HEX
#342f0b
RGB
52, 47, 11
HSL
52.68°, 65.08%, 12.35%
OKLCH
0.3 0.05 101.34
Names
—
Lists

Codes

FormatValue
HEX#342f0b
RGBrgb(52 47 11)
HSLhsl(52.68 65.08% 12.35%)
OKLCHoklch(0.3 0.05 101.34)
CMYKcmyk(0% 9.62% 78.85% 79.61%)
Android#ff342f0b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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