Skip to content

#bdf331

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

RGB
189, 243, 49
HSL
77°, 89%, 57%
CMYK
22, 0, 80, 5
Luminance
0.7514

Every format

HEX#bdf331
RGBrgb(189, 243, 49)
HSLhsl(77, 89%, 57%)
CMYKcmyk(22%, 0%, 80%, 5%)
LABlab(89.5 -41.5 79.5)
LCHlch(89.5 89.7 117.6)
OKLCHoklch(0.895 0.212 124.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdf331 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#bdf331 on black: 16.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green95.3%
Blue19.2%

CMYK percentages

Cyan22.2%
Magenta0.0%
Yellow79.8%
Key (black)4.7%

Color previews

#bdf331 text on a black background

contrast 16.03:1

Card sample

#bdf331 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdf331

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf331 in the Color Lab