Skip to content

#b4ef1f

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

RGB
180, 239, 31
HSL
77°, 87%, 53%
CMYK
25, 0, 87, 6
Luminance
0.7154

Every format

HEX#b4ef1f
RGBrgb(180, 239, 31)
HSLhsl(77, 87%, 53%)
CMYKcmyk(25%, 0%, 87%, 6%)
LABlab(87.7 -43.7 81.7)
LCHlch(87.7 92.7 118.1)
OKLCHoklch(0.880 0.218 125.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4ef1f on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#b4ef1f on black: 15.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green93.7%
Blue12.2%

CMYK percentages

Cyan24.7%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#b4ef1f text on a black background

contrast 15.31:1

Card sample

#b4ef1f text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4ef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4ef1f in the Color Lab