Skip to content

#baff2e

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

RGB
186, 255, 46
HSL
80°, 100%, 59%
CMYK
27, 0, 82, 0
Luminance
0.8216

Every format

HEX#baff2e
RGBrgb(186, 255, 46)
HSLhsl(80, 100%, 59%)
CMYKcmyk(27%, 0%, 82%, 0%)
LABlab(92.6 -47.9 83.0)
LCHlch(92.6 95.8 120.0)
OKLCHoklch(0.920 0.228 127.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue18.0%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow82.0%
Key (black)0.0%

Color previews

#baff2e text on a black background

contrast 17.43:1

Card sample

#baff2e text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff2e in the Color Lab