Skip to content

#bdf02d

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

RGB
189, 240, 45
HSL
76°, 87%, 56%
CMYK
21, 0, 81, 6
Luminance
0.7333

Every format

HEX#bdf02d
RGBrgb(189, 240, 45)
HSLhsl(76, 87%, 56%)
CMYKcmyk(21%, 0%, 81%, 6%)
LABlab(88.6 -40.3 79.7)
LCHlch(88.6 89.3 116.8)
OKLCHoklch(0.888 0.210 124.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdf02d on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#bdf02d on black: 15.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green94.1%
Blue17.6%

CMYK percentages

Cyan21.2%
Magenta0.0%
Yellow81.3%
Key (black)5.9%

Color previews

#bdf02d text on a black background

contrast 15.67:1

Card sample

#bdf02d text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(189, 240, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 240, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf02d;
background: linear-gradient(135deg, #bdf02d, #3BF02D);

Monochromatic scale

Palettes built from #bdf02d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf02d in the Color Lab