Skip to content

#baff50

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

RGB
186, 255, 80
HSL
84°, 100%, 66%
CMYK
27, 0, 69, 0
Luminance
0.8254

Every format

HEX#baff50
RGBrgb(186, 255, 80)
HSLhsl(84, 100%, 66%)
CMYKcmyk(27%, 0%, 69%, 0%)
LABlab(92.8 -46.2 73.0)
LCHlch(92.8 86.4 122.4)
OKLCHoklch(0.922 0.211 128.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baff50 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#baff50 on black: 17.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green100.0%
Blue31.4%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow68.6%
Key (black)0.0%

Color previews

#baff50 text on a black background

contrast 17.51:1

Card sample

#baff50 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 255, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 255, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baff50;
background: linear-gradient(135deg, #baff50, #50FF5B);

Monochromatic scale

Palettes built from #baff50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff50 in the Color Lab