Skip to content

#bdf51f

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

RGB
189, 245, 31
HSL
76°, 92%, 54%
CMYK
23, 0, 87, 4
Luminance
0.7622

Every format

HEX#bdf51f
RGBrgb(189, 245, 31)
HSLhsl(76, 92%, 54%)
CMYKcmyk(23%, 0%, 87%, 4%)
LABlab(90.0 -42.9 83.8)
LCHlch(90.0 94.1 117.1)
OKLCHoklch(0.899 0.220 124.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdf51f on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#bdf51f on black: 16.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green96.1%
Blue12.2%

CMYK percentages

Cyan22.9%
Magenta0.0%
Yellow87.3%
Key (black)3.9%

Color previews

#bdf51f text on a black background

contrast 16.24:1

Card sample

#bdf51f text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(189, 245, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 245, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf51f;
background: linear-gradient(135deg, #bdf51f, #2EF51F);

Monochromatic scale

Palettes built from #bdf51f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf51f in the Color Lab