Skip to content
Vectorlight.net

#baff42

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

HEX
#baff42
RGB
186, 255, 66
HSL
81.9°, 100%, 62.94%
OKLCH
0.92 0.22 128.06
Names
—
Lists

Codes

FormatValue
HEX#baff42
RGBrgb(186 255 66)
HSLhsl(81.9 100% 62.94%)
OKLCHoklch(0.92 0.22 128.06)
CMYKcmyk(27.06% 0% 74.12% 0%)
Android#ffbaff42

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

Recolor an SVG with this color

CSS

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