Skip to content

#b2fd0c

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

RGB
178, 253, 12
HSL
79°, 98%, 52%
CMYK
30, 0, 95, 1
Luminance
0.7974

Every format

HEX#b2fd0c
RGBrgb(178, 253, 12)
HSLhsl(79, 98%, 52%)
CMYKcmyk(30%, 0%, 95%, 1%)
LABlab(91.6 -50.7 87.2)
LCHlch(91.6 100.8 120.2)
OKLCHoklch(0.910 0.237 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green99.2%
Blue4.7%

CMYK percentages

Cyan29.6%
Magenta0.0%
Yellow95.3%
Key (black)0.8%

Color previews

#b2fd0c text on a black background

contrast 16.95:1

Card sample

#b2fd0c text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2fd0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2fd0c in the Color Lab