Skip to content
Vectorlight.net

#bafa5b

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

HEX
#bafa5b
RGB
186, 250, 91
HSL
84.15°, 94.08%, 66.86%
OKLCH
0.91 0.2 128.51
Names
—
Lists

Codes

FormatValue
HEX#bafa5b
RGBrgb(186 250 91)
HSLhsl(84.15 94.08% 66.86%)
OKLCHoklch(0.91 0.2 128.51)
CMYKcmyk(25.6% 0% 63.6% 1.96%)
Android#ffbafa5b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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