Skip to content
Vectorlight.net

#bafe98

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

HEX
#bafe98
RGB
186, 254, 152
HSL
100°, 98.08%, 79.61%
OKLCH
0.93 0.15 135.81
Names
—
Lists

Codes

FormatValue
HEX#bafe98
RGBrgb(186 254 152)
HSLhsl(100 98.08% 79.61%)
OKLCHoklch(0.93 0.15 135.81)
CMYKcmyk(26.77% 0% 40.16% 0.39%)
Android#ffbafe98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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