Skip to content
Vectorlight.net

#b4e31f

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

HEX
#b4e31f
RGB
180, 227, 31
HSL
74.39°, 77.78%, 50.59%
OKLCH
0.85 0.2 123.7
Names
—
Lists

Codes

FormatValue
HEX#b4e31f
RGBrgb(180 227 31)
HSLhsl(74.39 77.78% 50.59%)
OKLCHoklch(0.85 0.2 123.7)
CMYKcmyk(20.7% 0% 86.34% 10.98%)
Android#ffb4e31f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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