Skip to content

#bdf20c

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

RGB
189, 242, 12
HSL
74°, 91%, 50%
CMYK
22, 0, 95, 5
Luminance
0.7435

Every format

HEX#bdf20c
RGBrgb(189, 242, 12)
HSLhsl(74, 91%, 50%)
CMYKcmyk(22%, 0%, 95%, 5%)
LABlab(89.1 -41.9 85.5)
LCHlch(89.1 95.2 116.1)
OKLCHoklch(0.892 0.220 124.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdf20c on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#bdf20c on black: 15.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green94.9%
Blue4.7%

CMYK percentages

Cyan21.9%
Magenta0.0%
Yellow95.0%
Key (black)5.1%

Color previews

#bdf20c text on a black background

contrast 15.87:1

Card sample

#bdf20c text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdf20c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf20c in the Color Lab