Skip to content

#baff33

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

RGB
186, 255, 51
HSL
80°, 100%, 60%
CMYK
27, 0, 80, 0
Luminance
0.8220

Every format

HEX#baff33
RGBrgb(186, 255, 51)
HSLhsl(80, 100%, 60%)
CMYKcmyk(27%, 0%, 80%, 0%)
LABlab(92.7 -47.7 81.8)
LCHlch(92.7 94.7 120.2)
OKLCHoklch(0.921 0.226 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue20.0%

CMYK percentages

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

Color previews

#baff33 text on a black background

contrast 17.44:1

Card sample

#baff33 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff33

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff33 in the Color Lab