Skip to content

#b2fc4f

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

RGB
178, 252, 79
HSL
86°, 97%, 65%
CMYK
29, 0, 69, 1
Luminance
0.7965

Every format

HEX#b2fc4f
RGBrgb(178, 252, 79)
HSLhsl(86, 97%, 65%)
CMYKcmyk(29%, 0%, 69%, 1%)
LABlab(91.5 -47.9 71.9)
LCHlch(91.5 86.4 123.7)
OKLCHoklch(0.911 0.212 129.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green98.8%
Blue31.0%

CMYK percentages

Cyan29.4%
Magenta0.0%
Yellow68.7%
Key (black)1.2%

Color previews

#b2fc4f text on a black background

contrast 16.93:1

Card sample

#b2fc4f text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 252, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 252, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2fc4f;
background: linear-gradient(135deg, #b2fc4f, #4FFC5F);

Monochromatic scale

Palettes built from #b2fc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2fc4f in the Color Lab