Skip to content
Vectorlight.net

#b2a87f

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

HEX
#b2a87f
RGB
178, 168, 127
HSL
48.24°, 24.88%, 59.8%
OKLCH
0.73 0.06 96.01
Names
—
Lists

Codes

FormatValue
HEX#b2a87f
RGBrgb(178 168 127)
HSLhsl(48.24 24.88% 59.8%)
OKLCHoklch(0.73 0.06 96.01)
CMYKcmyk(0% 5.62% 28.65% 30.2%)
Android#ffb2a87f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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