Skip to content

#baec21

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

RGB
186, 236, 33
HSL
75°, 84%, 53%
CMYK
21, 0, 86, 8
Luminance
0.7054

Every format

HEX#baec21
RGBrgb(186, 236, 33)
HSLhsl(75, 84%, 53%)
CMYKcmyk(21%, 0%, 86%, 8%)
LABlab(87.3 -40.1 81.1)
LCHlch(87.3 90.5 116.3)
OKLCHoklch(0.877 0.211 124.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baec21 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#baec21 on black: 15.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green92.5%
Blue12.9%

CMYK percentages

Cyan21.2%
Magenta0.0%
Yellow86.0%
Key (black)7.5%

Color previews

#baec21 text on a black background

contrast 15.11:1

Card sample

#baec21 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baec21 in the Color Lab