Skip to content

#b2f511

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

RGB
178, 245, 17
HSL
78°, 92%, 51%
CMYK
27, 0, 93, 4
Luminance
0.7481

Every format

HEX#b2f511
RGBrgb(178, 245, 17)
HSLhsl(78, 92%, 51%)
CMYKcmyk(27%, 0%, 93%, 4%)
LABlab(89.3 -47.3 84.9)
LCHlch(89.3 97.2 119.1)
OKLCHoklch(0.892 0.228 127.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2f511 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#b2f511 on black: 15.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green96.1%
Blue6.7%

CMYK percentages

Cyan27.3%
Magenta0.0%
Yellow93.1%
Key (black)3.9%

Color previews

#b2f511 text on a black background

contrast 15.96:1

Card sample

#b2f511 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 245, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 245, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f511;
background: linear-gradient(135deg, #b2f511, #1AF511);

Monochromatic scale

Palettes built from #b2f511

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f511 in the Color Lab