Skip to content

#b2eb2c

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

RGB
178, 235, 44
HSL
78°, 83%, 55%
CMYK
24, 0, 81, 8
Luminance
0.6906

Every format

HEX#b2eb2c
RGBrgb(178, 235, 44)
HSLhsl(78, 83%, 55%)
CMYKcmyk(24%, 0%, 81%, 8%)
LABlab(86.5 -42.4 77.9)
LCHlch(86.5 88.7 118.5)
OKLCHoklch(0.870 0.210 126.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2eb2c on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#b2eb2c on black: 14.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green92.2%
Blue17.3%

CMYK percentages

Cyan24.3%
Magenta0.0%
Yellow81.3%
Key (black)7.8%

Color previews

#b2eb2c text on a black background

contrast 14.81:1

Card sample

#b2eb2c text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2eb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2eb2c in the Color Lab