Skip to content
Vectorlight.net

#babb2b

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

HEX
#babb2b
RGB
186, 187, 43
HSL
60.42°, 62.61%, 45.1%
OKLCH
0.77 0.16 109.98
Names
—
Lists

Codes

FormatValue
HEX#babb2b
RGBrgb(186 187 43)
HSLhsl(60.42 62.61% 45.1%)
OKLCHoklch(0.77 0.16 109.98)
CMYKcmyk(0.53% 0% 77.01% 26.67%)
Android#ffbabb2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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