Skip to content
Vectorlight.net

#babb18

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

HEX
#babb18
RGB
186, 187, 24
HSL
60.37°, 77.25%, 41.37%
OKLCH
0.77 0.16 110.09
Names
—
Lists

Codes

FormatValue
HEX#babb18
RGBrgb(186 187 24)
HSLhsl(60.37 77.25% 41.37%)
OKLCHoklch(0.77 0.16 110.09)
CMYKcmyk(0.53% 0% 87.17% 26.67%)
Android#ffbabb18

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.20: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="#babb18"
Gradient stop
<stop stop-color="#babb18"/>
CSS variable + fill
:root { --c: #babb18; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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