Skip to content

#b2fe2d

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

RGB
178, 254, 45
HSL
82°, 99%, 59%
CMYK
30, 0, 82, 0
Luminance
0.8054

Every format

HEX#b2fe2d
RGBrgb(178, 254, 45)
HSLhsl(82, 99%, 59%)
CMYKcmyk(30%, 0%, 82%, 0%)
LABlab(91.9 -50.4 82.4)
LCHlch(91.9 96.6 121.4)
OKLCHoklch(0.913 0.231 128.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2fe2d on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#b2fe2d on black: 17.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green99.6%
Blue17.6%

CMYK percentages

Cyan29.9%
Magenta0.0%
Yellow82.3%
Key (black)0.4%

Color previews

#b2fe2d text on a black background

contrast 17.11:1

Card sample

#b2fe2d text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2fe2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2fe2d in the Color Lab