Skip to content

#b2f921

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

RGB
178, 249, 33
HSL
80°, 95%, 55%
CMYK
29, 0, 87, 2
Luminance
0.7733

Every format

HEX#b2f921
RGBrgb(178, 249, 33)
HSLhsl(80, 95%, 55%)
CMYKcmyk(29%, 0%, 87%, 2%)
LABlab(90.5 -48.6 83.6)
LCHlch(90.5 96.7 120.2)
OKLCHoklch(0.901 0.229 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2f921 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#b2f921 on black: 16.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green97.6%
Blue12.9%

CMYK percentages

Cyan28.5%
Magenta0.0%
Yellow86.7%
Key (black)2.4%

Color previews

#b2f921 text on a black background

contrast 16.47:1

Card sample

#b2f921 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2f921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f921 in the Color Lab