Skip to content
Vectorlight.net

#b2bf2a

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

HEX
#b2bf2a
RGB
178, 191, 42
HSL
65.23°, 63.95%, 45.69%
OKLCH
0.77 0.16 114.74
Names
—
Lists

Codes

FormatValue
HEX#b2bf2a
RGBrgb(178 191 42)
HSLhsl(65.23 63.95% 45.69%)
OKLCHoklch(0.77 0.16 114.74)
CMYKcmyk(6.81% 0% 78.01% 25.1%)
Android#ffb2bf2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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