Skip to content

#bafd49

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

RGB
186, 253, 73
HSL
82°, 98%, 64%
CMYK
27, 0, 71, 1
Luminance
0.8117

Every format

HEX#bafd49
RGBrgb(186, 253, 73)
HSLhsl(82, 98%, 64%)
CMYKcmyk(27%, 0%, 71%, 1%)
LABlab(92.2 -45.8 74.8)
LCHlch(92.2 87.7 121.5)
OKLCHoklch(0.917 0.213 128.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green99.2%
Blue28.6%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow71.1%
Key (black)0.8%

Color previews

#bafd49 text on a black background

contrast 17.23:1

Card sample

#bafd49 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bafd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bafd49 in the Color Lab