Skip to content

#b5ef1c

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

RGB
181, 239, 28
HSL
77°, 87%, 52%
CMYK
24, 0, 88, 6
Luminance
0.7164

Every format

HEX#b5ef1c
RGBrgb(181, 239, 28)
HSLhsl(77, 87%, 52%)
CMYKcmyk(24%, 0%, 88%, 6%)
LABlab(87.8 -43.4 82.3)
LCHlch(87.8 93.1 117.8)
OKLCHoklch(0.880 0.218 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.0%
Green93.7%
Blue11.0%

CMYK percentages

Cyan24.3%
Magenta0.0%
Yellow88.3%
Key (black)6.3%

Color previews

#b5ef1c text on a black background

contrast 15.33:1

Card sample

#b5ef1c text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5ef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5ef1c in the Color Lab