Skip to content
Vectorlight.net

#bafe5b

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

HEX
#bafe5b
RGB
186, 254, 91
HSL
85.03°, 98.79%, 67.65%
OKLCH
0.92 0.2 129.12
Names
—
Lists

Codes

FormatValue
HEX#bafe5b
RGBrgb(186 254 91)
HSLhsl(85.03 98.79% 67.65%)
OKLCHoklch(0.92 0.2 129.12)
CMYKcmyk(26.77% 0% 64.17% 0.39%)
Android#ffbafe5b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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