Skip to content
Vectorlight.net

#bafe48

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

HEX
#bafe48
RGB
186, 254, 72
HSL
82.42°, 98.91%, 63.92%
OKLCH
0.92 0.21 128.15
Names
—
Lists

Codes

FormatValue
HEX#bafe48
RGBrgb(186 254 72)
HSLhsl(82.42 98.91% 63.92%)
OKLCHoklch(0.92 0.21 128.15)
CMYKcmyk(26.77% 0% 71.65% 0.39%)
Android#ffbafe48

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

Recolor an SVG with this color

CSS

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