Skip to content

#b5eb3b

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

RGB
181, 235, 59
HSL
78°, 82%, 58%
CMYK
23, 0, 75, 8
Luminance
0.6956

Every format

HEX#b5eb3b
RGBrgb(181, 235, 59)
HSLhsl(78, 82%, 58%)
CMYKcmyk(23%, 0%, 75%, 8%)
LABlab(86.8 -40.6 74.0)
LCHlch(86.8 84.4 118.7)
OKLCHoklch(0.872 0.202 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b5eb3b on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#b5eb3b on black: 14.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green92.2%
Blue23.1%

CMYK percentages

Cyan23.0%
Magenta0.0%
Yellow74.9%
Key (black)7.8%

Color previews

#b5eb3b text on a black background

contrast 14.91:1

Card sample

#b5eb3b text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(181, 235, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 235, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b5eb3b;
background: linear-gradient(135deg, #b5eb3b, #3FEB3B);

Monochromatic scale

Palettes built from #b5eb3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5eb3b in the Color Lab