Skip to content

#befb21

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

RGB
190, 251, 33
HSL
77°, 97%, 56%
CMYK
24, 0, 87, 2
Luminance
0.8005

Every format

HEX#befb21
RGBrgb(190, 251, 33)
HSLhsl(77, 97%, 56%)
CMYKcmyk(24%, 0%, 87%, 2%)
LABlab(91.7 -45.1 84.9)
LCHlch(91.7 96.1 118.0)
OKLCHoklch(0.913 0.225 125.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#befb21 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#befb21 on black: 17.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green98.4%
Blue12.9%

CMYK percentages

Cyan24.3%
Magenta0.0%
Yellow86.9%
Key (black)1.6%

Color previews

#befb21 text on a black background

contrast 17.01:1

Card sample

#befb21 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(190, 251, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 251, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #befb21;
background: linear-gradient(135deg, #befb21, #2DFB21);

Monochromatic scale

Palettes built from #befb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #befb21 in the Color Lab