Skip to content

#b2f950

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

RGB
178, 249, 80
HSL
85°, 93%, 65%
CMYK
29, 0, 68, 2
Luminance
0.7780

Every format

HEX#b2f950
RGBrgb(178, 249, 80)
HSLhsl(85, 93%, 65%)
CMYKcmyk(29%, 0%, 68%, 2%)
LABlab(90.7 -46.5 70.7)
LCHlch(90.7 84.6 123.4)
OKLCHoklch(0.904 0.207 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2f950 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#b2f950 on black: 16.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green97.6%
Blue31.4%

CMYK percentages

Cyan28.5%
Magenta0.0%
Yellow67.9%
Key (black)2.4%

Color previews

#b2f950 text on a black background

contrast 16.56:1

Card sample

#b2f950 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 249, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 249, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f950;
background: linear-gradient(135deg, #b2f950, #50F95F);

Monochromatic scale

Palettes built from #b2f950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f950 in the Color Lab