Skip to content

#b4fc21

a balanced, electric green · cool · closest name: yellow

RGB
180, 252, 33
HSL
80°, 97%, 56%
CMYK
29, 0, 87, 1
Luminance
0.7943

Every format

HEX#b4fc21
RGBrgb(180, 252, 33)
HSLhsl(80, 97%, 56%)
CMYKcmyk(29%, 0%, 87%, 1%)
LABlab(91.4 -49.2 84.5)
LCHlch(91.4 97.7 120.2)
OKLCHoklch(0.910 0.231 128.0)

Copy-ready code

/* CSS */
color: #b4fc21;
background-color: #b4fc21;
/* Tailwind (arbitrary) */
class="text-[#b4fc21] bg-[#b4fc21]"
/* SCSS */
$brand: #b4fc21;
/* SwiftUI */
Color(red: 0.706, green: 0.988, blue: 0.129)
/* Android */
Color.parseColor("#b4fc21")

Accessibility — WCAG contrast

Aa
#b4fc21 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#b4fc21 on black: 16.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green98.8%
Blue12.9%

CMYK percentages

Cyan28.6%
Magenta0.0%
Yellow86.9%
Key (black)1.2%

Color previews

#b4fc21 text on a black background

contrast 16.89:1

Card sample

#b4fc21 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #b4fc21;
Background color
Panel with #b4fc21 background
background-color: #b4fc21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #b4fc21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(180, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4fc21;
background: linear-gradient(135deg, #b4fc21, #22FC21);

Monochromatic scale

Palettes built from #b4fc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4fc21 in the Color Lab