Skip to content
Vectorlight.net

#babc2a

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

HEX
#babc2a
RGB
186, 188, 42
HSL
60.82°, 63.48%, 45.1%
OKLCH
0.77 0.16 110.4
Names
—
Lists

Codes

FormatValue
HEX#babc2a
RGBrgb(186 188 42)
HSLhsl(60.82 63.48% 45.1%)
OKLCHoklch(0.77 0.16 110.4)
CMYKcmyk(1.06% 0% 77.66% 26.27%)
Android#ffbabc2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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