Skip to content
Vectorlight.net

#a6731b

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

HEX
#a6731b
RGB
166, 115, 27
HSL
37.99°, 72.02%, 37.84%
OKLCH
0.59 0.12 75.25
Names
—
Lists

Codes

FormatValue
HEX#a6731b
RGBrgb(166 115 27)
HSLhsl(37.99 72.02% 37.84%)
OKLCHoklch(0.59 0.12 75.25)
CMYKcmyk(0% 30.72% 83.73% 34.9%)
Android#ffa6731b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.12:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.08:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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