Skip to content
Vectorlight.net

#babf40

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

HEX
#babf40
RGB
186, 191, 64
HSL
62.36°, 49.8%, 50%
OKLCH
0.78 0.15 111.55
Names
—
Lists

Codes

FormatValue
HEX#babf40
RGBrgb(186 191 64)
HSLhsl(62.36 49.8% 50%)
OKLCHoklch(0.78 0.15 111.55)
CMYKcmyk(2.62% 0% 66.49% 25.1%)
Android#ffbabf40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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