Skip to content
Vectorlight.net

#af862a

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

HEX
#af862a
RGB
175, 134, 42
HSL
41.5°, 61.29%, 42.55%
OKLCH
0.64 0.12 83.44
Names
—
Lists

Codes

FormatValue
HEX#af862a
RGBrgb(175 134 42)
HSLhsl(41.5 61.29% 42.55%)
OKLCHoklch(0.64 0.12 83.44)
CMYKcmyk(0% 23.43% 76% 31.37%)
Android#ffaf862a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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