Skip to content
Vectorlight.net

#bad52d

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

HEX
#bad52d
RGB
186, 213, 45
HSL
69.64°, 66.67%, 50.59%
OKLCH
0.83 0.18 118.9
Names
—
Lists

Codes

FormatValue
HEX#bad52d
RGBrgb(186 213 45)
HSLhsl(69.64 66.67% 50.59%)
OKLCHoklch(0.83 0.18 118.9)
CMYKcmyk(12.68% 0% 78.87% 16.47%)
Android#ffbad52d

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

Recolor an SVG with this color

CSS

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