Skip to content

#b4ff1f

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

RGB
180, 255, 31
HSL
80°, 100%, 56%
CMYK
29, 0, 88, 0
Luminance
0.8132

Every format

HEX#b4ff1f
RGBrgb(180, 255, 31)
HSLhsl(80, 100%, 56%)
CMYKcmyk(29%, 0%, 88%, 0%)
LABlab(92.3 -50.5 85.5)
LCHlch(92.3 99.3 120.6)
OKLCHoklch(0.916 0.235 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4ff1f on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#b4ff1f on black: 17.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green100.0%
Blue12.2%

CMYK percentages

Cyan29.4%
Magenta0.0%
Yellow87.8%
Key (black)0.0%

Color previews

#b4ff1f text on a black background

contrast 17.26:1

Card sample

#b4ff1f text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 255, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 255, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4ff1f;
background: linear-gradient(135deg, #b4ff1f, #1FFF1F);

Monochromatic scale

Palettes built from #b4ff1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4ff1f in the Color Lab