Skip to content

#b2eb1b

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

RGB
178, 235, 27
HSL
76°, 84%, 51%
CMYK
24, 0, 89, 8
Luminance
0.6896

Every format

HEX#b2eb1b
RGBrgb(178, 235, 27)
HSLhsl(76, 84%, 51%)
CMYKcmyk(24%, 0%, 89%, 8%)
LABlab(86.5 -42.8 81.3)
LCHlch(86.5 91.9 117.8)
OKLCHoklch(0.869 0.215 125.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green92.2%
Blue10.6%

CMYK percentages

Cyan24.3%
Magenta0.0%
Yellow88.5%
Key (black)7.8%

Color previews

#b2eb1b text on a black background

contrast 14.79:1

Card sample

#b2eb1b text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2eb1b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2eb1b in the Color Lab