Skip to content

#b2eb42

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

RGB
178, 235, 66
HSL
80°, 81%, 59%
CMYK
24, 0, 72, 8
Luminance
0.6927

Every format

HEX#b2eb42
RGBrgb(178, 235, 66)
HSLhsl(80, 81%, 59%)
CMYKcmyk(24%, 0%, 72%, 8%)
LABlab(86.6 -41.4 71.6)
LCHlch(86.6 82.7 120.0)
OKLCHoklch(0.871 0.199 126.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2eb42 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#b2eb42 on black: 14.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green92.2%
Blue25.9%

CMYK percentages

Cyan24.3%
Magenta0.0%
Yellow71.9%
Key (black)7.8%

Color previews

#b2eb42 text on a black background

contrast 14.85:1

Card sample

#b2eb42 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2eb42

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2eb42 in the Color Lab