Skip to content

#b1eb28

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

RGB
177, 235, 40
HSL
78°, 83%, 54%
CMYK
25, 0, 83, 8
Luminance
0.6892

Every format

HEX#b1eb28
RGBrgb(177, 235, 40)
HSLhsl(78, 83%, 54%)
CMYKcmyk(25%, 0%, 83%, 8%)
LABlab(86.5 -42.9 78.8)
LCHlch(86.5 89.7 118.6)
OKLCHoklch(0.869 0.212 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.4%
Green92.2%
Blue15.7%

CMYK percentages

Cyan24.7%
Magenta0.0%
Yellow83.0%
Key (black)7.8%

Color previews

#b1eb28 text on a black background

contrast 14.78:1

Card sample

#b1eb28 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(177, 235, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 235, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1eb28;
background: linear-gradient(135deg, #b1eb28, #2FEB28);

Monochromatic scale

Palettes built from #b1eb28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b1eb28 in the Color Lab