Skip to content

#bafd32

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

RGB
186, 253, 50
HSL
80°, 98%, 59%
CMYK
27, 0, 80, 1
Luminance
0.8092

Every format

HEX#bafd32
RGBrgb(186, 253, 50)
HSLhsl(80, 98%, 59%)
CMYKcmyk(27%, 0%, 80%, 1%)
LABlab(92.1 -46.9 81.5)
LCHlch(92.1 94.0 119.9)
OKLCHoklch(0.916 0.224 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bafd32 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#bafd32 on black: 17.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green99.2%
Blue19.6%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow80.2%
Key (black)0.8%

Color previews

#bafd32 text on a black background

contrast 17.18:1

Card sample

#bafd32 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafd32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafd32 in the Color Lab