Skip to content
Vectorlight.net

#b2af2e

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

HEX
#b2af2e
RGB
178, 175, 46
HSL
58.64°, 58.93%, 43.92%
OKLCH
0.73 0.14 108.11
Names
—
Lists

Codes

FormatValue
HEX#b2af2e
RGBrgb(178 175 46)
HSLhsl(58.64 58.93% 43.92%)
OKLCHoklch(0.73 0.14 108.11)
CMYKcmyk(0% 1.69% 74.16% 30.2%)
Android#ffb2af2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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