Skip to content

#baff1d

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

RGB
186, 255, 29
HSL
78°, 100%, 56%
CMYK
27, 0, 89, 0
Luminance
0.8205

Every format

HEX#baff1d
RGBrgb(186, 255, 29)
HSLhsl(78, 100%, 56%)
CMYKcmyk(27%, 0%, 89%, 0%)
LABlab(92.6 -48.3 86.2)
LCHlch(92.6 98.8 119.3)
OKLCHoklch(0.920 0.233 127.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baff1d on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#baff1d on black: 17.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green100.0%
Blue11.4%

CMYK percentages

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

Color previews

#baff1d text on a black background

contrast 17.41:1

Card sample

#baff1d text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff1d in the Color Lab