Skip to content

#baff4f

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

RGB
186, 255, 79
HSL
84°, 100%, 66%
CMYK
27, 0, 69, 0
Luminance
0.8252

Every format

HEX#baff4f
RGBrgb(186, 255, 79)
HSLhsl(84, 100%, 66%)
CMYKcmyk(27%, 0%, 69%, 0%)
LABlab(92.8 -46.3 73.3)
LCHlch(92.8 86.7 122.3)
OKLCHoklch(0.922 0.211 128.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue31.0%

CMYK percentages

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

Color previews

#baff4f text on a black background

contrast 17.50:1

Card sample

#baff4f text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff4f in the Color Lab