Skip to content

#baff06

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

RGB
186, 255, 6
HSL
77°, 100%, 51%
CMYK
27, 0, 98, 0
Luminance
0.8197

Every format

HEX#baff06
RGBrgb(186, 255, 6)
HSLhsl(77, 100%, 51%)
CMYKcmyk(27%, 0%, 98%, 0%)
LABlab(92.6 -48.7 88.6)
LCHlch(92.6 101.1 118.8)
OKLCHoklch(0.919 0.236 126.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue2.4%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow97.6%
Key (black)0.0%

Color previews

#baff06 text on a black background

contrast 17.39:1

Card sample

#baff06 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff06

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff06 in the Color Lab