Skip to content
Vectorlight.net

#badc2a

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

HEX
#badc2a
RGB
186, 220, 42
HSL
71.46°, 71.77%, 51.37%
OKLCH
0.84 0.19 120.68
Names
—
Lists

Codes

FormatValue
HEX#badc2a
RGBrgb(186 220 42)
HSLhsl(71.46 71.77% 51.37%)
OKLCHoklch(0.84 0.19 120.68)
CMYKcmyk(15.45% 0% 80.91% 13.73%)
Android#ffbadc2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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