Skip to content

#b2ef1c

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

RGB
178, 239, 28
HSL
77°, 87%, 52%
CMYK
26, 0, 88, 6
Luminance
0.7128

Every format

HEX#b2ef1c
RGBrgb(178, 239, 28)
HSLhsl(77, 87%, 52%)
CMYKcmyk(26%, 0%, 88%, 6%)
LABlab(87.6 -44.5 82.1)
LCHlch(87.6 93.4 118.5)
OKLCHoklch(0.878 0.219 126.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ef1c on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#b2ef1c on black: 15.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green93.7%
Blue11.0%

CMYK percentages

Cyan25.5%
Magenta0.0%
Yellow88.3%
Key (black)6.3%

Color previews

#b2ef1c text on a black background

contrast 15.26:1

Card sample

#b2ef1c text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ef1c in the Color Lab