Skip to content

#baef1f

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

RGB
186, 239, 31
HSL
75°, 87%, 53%
CMYK
22, 0, 87, 6
Luminance
0.7227

Every format

HEX#baef1f
RGBrgb(186, 239, 31)
HSLhsl(75, 87%, 53%)
CMYKcmyk(22%, 0%, 87%, 6%)
LABlab(88.1 -41.4 82.2)
LCHlch(88.1 92.0 116.8)
OKLCHoklch(0.883 0.215 124.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#baef1f text on a black background

contrast 15.45:1

Card sample

#baef1f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baef1f in the Color Lab