Skip to content

#baff30

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

RGB
186, 255, 48
HSL
80°, 100%, 59%
CMYK
27, 0, 81, 0
Luminance
0.8217

Every format

HEX#baff30
RGBrgb(186, 255, 48)
HSLhsl(80, 100%, 59%)
CMYKcmyk(27%, 0%, 81%, 0%)
LABlab(92.7 -47.8 82.5)
LCHlch(92.7 95.3 120.1)
OKLCHoklch(0.920 0.227 127.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow81.2%
Key (black)0.0%

Color previews

#baff30 text on a black background

contrast 17.43:1

Card sample

#baff30 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff30 in the Color Lab