Skip to content
Vectorlight.net

#baf151

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

HEX
#baf151
RGB
186, 241, 81
HSL
80.63°, 85.11%, 63.14%
OKLCH
0.89 0.19 126.43
Names
—
Lists

Codes

FormatValue
HEX#baf151
RGBrgb(186 241 81)
HSLhsl(80.63 85.11% 63.14%)
OKLCHoklch(0.89 0.19 126.43)
CMYKcmyk(22.82% 0% 66.39% 5.49%)
Android#ffbaf151

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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