Skip to content
Vectorlight.net

#bad52b

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

HEX
#bad52b
RGB
186, 213, 43
HSL
69.53°, 66.93%, 50.2%
OKLCH
0.82 0.18 118.87
Names
—
Lists

Codes

FormatValue
HEX#bad52b
RGBrgb(186 213 43)
HSLhsl(69.53 66.93% 50.2%)
OKLCHoklch(0.82 0.18 118.87)
CMYKcmyk(12.68% 0% 79.81% 16.47%)
Android#ffbad52b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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