Skip to content
Vectorlight.net

#2f341f

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

HEX
#2f341f
RGB
47, 52, 31
HSL
74.29°, 25.3%, 16.27%
OKLCH
0.31 0.04 119.41
Names
—
Lists

Codes

FormatValue
HEX#2f341f
RGBrgb(47 52 31)
HSLhsl(74.29 25.3% 16.27%)
OKLCHoklch(0.31 0.04 119.41)
CMYKcmyk(9.62% 0% 40.38% 79.61%)
Android#ff2f341f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2f341f;
background-color: #2f341f;
bg-[#2f341f]