Skip to content

#bbf921

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

RGB
187, 249, 33
HSL
77°, 95%, 55%
CMYK
25, 0, 87, 2
Luminance
0.7843

Every format

HEX#bbf921
RGBrgb(187, 249, 33)
HSLhsl(77, 95%, 55%)
CMYKcmyk(25%, 0%, 87%, 2%)
LABlab(91.0 -45.3 84.2)
LCHlch(91.0 95.7 118.3)
OKLCHoklch(0.907 0.225 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbf921 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#bbf921 on black: 16.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green97.6%
Blue12.9%

CMYK percentages

Cyan24.9%
Magenta0.0%
Yellow86.7%
Key (black)2.4%

Color previews

#bbf921 text on a black background

contrast 16.69:1

Card sample

#bbf921 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 249, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 249, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbf921;
background: linear-gradient(135deg, #bbf921, #2BF921);

Monochromatic scale

Palettes built from #bbf921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbf921 in the Color Lab