Skip to content

#baff78

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

RGB
186, 255, 120
HSL
91°, 100%, 74%
CMYK
27, 0, 53, 0
Luminance
0.8332

Every format

HEX#baff78
RGBrgb(186, 255, 120)
HSLhsl(91, 100%, 74%)
CMYKcmyk(27%, 0%, 53%, 0%)
LABlab(93.2 -43.0 57.0)
LCHlch(93.2 71.4 127.0)
OKLCHoklch(0.926 0.180 131.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baff78 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#baff78 on black: 17.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green100.0%
Blue47.1%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow52.9%
Key (black)0.0%

Color previews

#baff78 text on a black background

contrast 17.66:1

Card sample

#baff78 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff78 in the Color Lab