Skip to content

#b1fb39

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

RGB
177, 251, 57
HSL
83°, 96%, 60%
CMYK
30, 0, 77, 2
Luminance
0.7864

Every format

HEX#b1fb39
RGBrgb(177, 251, 57)
HSLhsl(83, 96%, 60%)
CMYKcmyk(30%, 0%, 77%, 2%)
LABlab(91.1 -49.0 78.5)
LCHlch(91.1 92.6 122.0)
OKLCHoklch(0.906 0.223 129.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.4%
Green98.4%
Blue22.4%

CMYK percentages

Cyan29.5%
Magenta0.0%
Yellow77.3%
Key (black)1.6%

Color previews

#b1fb39 text on a black background

contrast 16.73:1

Card sample

#b1fb39 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(177, 251, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 251, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1fb39;
background: linear-gradient(135deg, #b1fb39, #39FB42);

Monochromatic scale

Palettes built from #b1fb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b1fb39 in the Color Lab