Skip to content

#b2ea21

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

RGB
178, 234, 33
HSL
77°, 83%, 52%
CMYK
24, 0, 86, 8
Luminance
0.6842

Every format

HEX#b2ea21
RGBrgb(178, 234, 33)
HSLhsl(77, 83%, 52%)
CMYKcmyk(24%, 0%, 86%, 8%)
LABlab(86.2 -42.3 80.0)
LCHlch(86.2 90.5 117.8)
OKLCHoklch(0.867 0.212 125.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ea21 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#b2ea21 on black: 14.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green91.8%
Blue12.9%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow85.9%
Key (black)8.2%

Color previews

#b2ea21 text on a black background

contrast 14.68:1

Card sample

#b2ea21 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ea21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ea21 in the Color Lab