Skip to content

#bdf402

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

RGB
189, 244, 2
HSL
74°, 98%, 48%
CMYK
23, 0, 99, 4
Luminance
0.7552

Every format

HEX#bdf402
RGBrgb(189, 244, 2)
HSLhsl(74, 98%, 48%)
CMYKcmyk(23%, 0%, 99%, 4%)
LABlab(89.6 -42.9 86.7)
LCHlch(89.6 96.7 116.3)
OKLCHoklch(0.896 0.224 124.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdf402 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#bdf402 on black: 16.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green95.7%
Blue0.8%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow99.2%
Key (black)4.3%

Color previews

#bdf402 text on a black background

contrast 16.10:1

Card sample

#bdf402 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdf402

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf402 in the Color Lab