Skip to content
Vectorlight.net

#bad71b

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

HEX
#bad71b
RGB
186, 215, 27
HSL
69.26°, 77.69%, 47.45%
OKLCH
0.83 0.19 119.22
Names
—
Lists

Codes

FormatValue
HEX#bad71b
RGBrgb(186 215 27)
HSLhsl(69.26 77.69% 47.45%)
OKLCHoklch(0.83 0.19 119.22)
CMYKcmyk(13.49% 0% 87.44% 15.69%)
Android#ffbad71b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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