Skip to content
Vectorlight.net

#badb2a

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

HEX
#badb2a
RGB
186, 219, 42
HSL
71.19°, 71.08%, 51.18%
OKLCH
0.84 0.19 120.43
Names
—
Lists

Codes

FormatValue
HEX#badb2a
RGBrgb(186 219 42)
HSLhsl(71.19 71.08% 51.18%)
OKLCHoklch(0.84 0.19 120.43)
CMYKcmyk(15.07% 0% 80.82% 14.12%)
Android#ffbadb2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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