Skip to content

#baff48

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

RGB
186, 255, 72
HSL
83°, 100%, 64%
CMYK
27, 0, 72, 0
Luminance
0.8243

Every format

HEX#baff48
RGBrgb(186, 255, 72)
HSLhsl(83, 100%, 64%)
CMYKcmyk(27%, 0%, 72%, 0%)
LABlab(92.8 -46.7 75.7)
LCHlch(92.8 89.0 121.7)
OKLCHoklch(0.922 0.216 128.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue28.2%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow71.8%
Key (black)0.0%

Color previews

#baff48 text on a black background

contrast 17.49:1

Card sample

#baff48 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff48 in the Color Lab