Skip to content
Vectorlight.net

#bad31e

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

HEX
#bad31e
RGB
186, 211, 30
HSL
68.29°, 75.1%, 47.25%
OKLCH
0.82 0.18 118.17
Names
—
Lists

Codes

FormatValue
HEX#bad31e
RGBrgb(186 211 30)
HSLhsl(68.29 75.1% 47.25%)
OKLCHoklch(0.82 0.18 118.17)
CMYKcmyk(11.85% 0% 85.78% 17.25%)
Android#ffbad31e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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