Skip to content
Vectorlight.net

#bad401

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

HEX
#bad401
RGB
186, 212, 1
HSL
67.39°, 99.06%, 41.76%
OKLCH
0.82 0.19 118.28
Names
—
Lists

Codes

FormatValue
HEX#bad401
RGBrgb(186 212 1)
HSLhsl(67.39 99.06% 41.76%)
OKLCHoklch(0.82 0.19 118.28)
CMYKcmyk(12.26% 0% 99.53% 16.86%)
Android#ffbad401

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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