Skip to content

#baff02

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

RGB
186, 255, 2
HSL
76°, 100%, 50%
CMYK
27, 0, 99, 0
Luminance
0.8196

Every format

HEX#baff02
RGBrgb(186, 255, 2)
HSLhsl(76, 100%, 50%)
CMYKcmyk(27%, 0%, 99%, 0%)
LABlab(92.6 -48.7 88.9)
LCHlch(92.6 101.3 118.7)
OKLCHoklch(0.919 0.237 126.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baff02 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#baff02 on black: 17.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green100.0%
Blue0.8%

CMYK percentages

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

Color previews

#baff02 text on a black background

contrast 17.39:1

Card sample

#baff02 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff02 in the Color Lab