Skip to content
Vectorlight.net

#bafb47

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

HEX
#bafb47
RGB
186, 251, 71
HSL
81.67°, 95.74%, 63.14%
OKLCH
0.91 0.21 127.66
Names
—
Lists

Codes

FormatValue
HEX#bafb47
RGBrgb(186 251 71)
HSLhsl(81.67 95.74% 63.14%)
OKLCHoklch(0.91 0.21 127.66)
CMYKcmyk(25.9% 0% 71.71% 1.57%)
Android#ffbafb47

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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