Skip to content
Vectorlight.net

#a6791b

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

HEX
#a6791b
RGB
166, 121, 27
HSL
40.58°, 72.02%, 37.84%
OKLCH
0.61 0.12 80.27
Names
—
Lists

Codes

FormatValue
HEX#a6791b
RGBrgb(166 121 27)
HSLhsl(40.58 72.02% 37.84%)
OKLCHoklch(0.61 0.12 80.27)
CMYKcmyk(0% 27.11% 83.73% 34.9%)
Android#ffa6791b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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