Skip to content

#b4eb2c

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

RGB
180, 235, 44
HSL
77°, 83%, 55%
CMYK
23, 0, 81, 8
Luminance
0.6930

Every format

HEX#b4eb2c
RGBrgb(180, 235, 44)
HSLhsl(77, 83%, 55%)
CMYKcmyk(23%, 0%, 81%, 8%)
LABlab(86.7 -41.6 78.1)
LCHlch(86.7 88.5 118.0)
OKLCHoklch(0.871 0.209 125.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green92.2%
Blue17.3%

CMYK percentages

Cyan23.4%
Magenta0.0%
Yellow81.3%
Key (black)7.8%

Color previews

#b4eb2c text on a black background

contrast 14.86:1

Card sample

#b4eb2c text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 235, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 235, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4eb2c;
background: linear-gradient(135deg, #b4eb2c, #35EB2C);

Monochromatic scale

Palettes built from #b4eb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4eb2c in the Color Lab