Skip to content
Vectorlight.net

#a6795f

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

HEX
#a6795f
RGB
166, 121, 95
HSL
21.97°, 28.51%, 51.18%
OKLCH
0.61 0.07 51.08
Names
—
Lists

Codes

FormatValue
HEX#a6795f
RGBrgb(166 121 95)
HSLhsl(21.97 28.51% 51.18%)
OKLCHoklch(0.61 0.07 51.08)
CMYKcmyk(0% 27.11% 42.77% 34.9%)
Android#ffa6795f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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