Skip to content

#bafd50

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

RGB
186, 253, 80
HSL
83°, 98%, 65%
CMYK
27, 0, 68, 1
Luminance
0.8127

Every format

HEX#bafd50
RGBrgb(186, 253, 80)
HSLhsl(83, 98%, 65%)
CMYKcmyk(27%, 0%, 68%, 1%)
LABlab(92.3 -45.4 72.4)
LCHlch(92.3 85.5 122.1)
OKLCHoklch(0.918 0.208 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafd50 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#bafd50 on black: 17.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.2%
Blue31.4%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow68.4%
Key (black)0.8%

Color previews

#bafd50 text on a black background

contrast 17.25:1

Card sample

#bafd50 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafd50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafd50 in the Color Lab