Skip to content
Vectorlight.net

#b4dc2a

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

HEX
#b4dc2a
RGB
180, 220, 42
HSL
73.48°, 71.77%, 51.37%
OKLCH
0.84 0.19 122.4
Names
—
Lists

Codes

FormatValue
HEX#b4dc2a
RGBrgb(180 220 42)
HSLhsl(73.48 71.77% 51.37%)
OKLCHoklch(0.84 0.19 122.4)
CMYKcmyk(18.18% 0% 80.91% 13.73%)
Android#ffb4dc2a

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

Recolor an SVG with this color

CSS

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