Skip to content
Vectorlight.net

#bad342

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

HEX
#bad342
RGB
186, 211, 66
HSL
70.34°, 62.23%, 54.31%
OKLCH
0.82 0.17 118.75
Names
—
Lists

Codes

FormatValue
HEX#bad342
RGBrgb(186 211 66)
HSLhsl(70.34 62.23% 54.31%)
OKLCHoklch(0.82 0.17 118.75)
CMYKcmyk(11.85% 0% 68.72% 17.25%)
Android#ffbad342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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