Skip to content
Vectorlight.net

#bad40d

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

HEX
#bad40d
RGB
186, 212, 13
HSL
67.84°, 88.44%, 44.12%
OKLCH
0.82 0.19 118.33
Names
—
Lists

Codes

FormatValue
HEX#bad40d
RGBrgb(186 212 13)
HSLhsl(67.84 88.44% 44.12%)
OKLCHoklch(0.82 0.19 118.33)
CMYKcmyk(12.26% 0% 93.87% 16.86%)
Android#ffbad40d

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

Recolor an SVG with this color

CSS

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