Skip to content

#b2fd2a

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

RGB
178, 253, 42
HSL
81°, 98%, 58%
CMYK
30, 0, 83, 1
Luminance
0.7988

Every format

HEX#b2fd2a
RGBrgb(178, 253, 42)
HSLhsl(81, 98%, 58%)
CMYKcmyk(30%, 0%, 83%, 1%)
LABlab(91.6 -50.1 82.8)
LCHlch(91.6 96.8 121.2)
OKLCHoklch(0.911 0.231 128.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2fd2a on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#b2fd2a on black: 16.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green99.2%
Blue16.5%

CMYK percentages

Cyan29.6%
Magenta0.0%
Yellow83.4%
Key (black)0.8%

Color previews

#b2fd2a text on a black background

contrast 16.98:1

Card sample

#b2fd2a text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2fd2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2fd2a in the Color Lab