Skip to content

#baef21

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

RGB
186, 239, 33
HSL
75°, 87%, 53%
CMYK
22, 0, 86, 6
Luminance
0.7228

Every format

HEX#baef21
RGBrgb(186, 239, 33)
HSLhsl(75, 87%, 53%)
CMYKcmyk(22%, 0%, 86%, 6%)
LABlab(88.1 -41.4 81.8)
LCHlch(88.1 91.7 116.8)
OKLCHoklch(0.883 0.214 124.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baef21 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#baef21 on black: 15.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green93.7%
Blue12.9%

CMYK percentages

Cyan22.2%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#baef21 text on a black background

contrast 15.46:1

Card sample

#baef21 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baef21 in the Color Lab