Skip to content

#bdf804

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

RGB
189, 248, 4
HSL
75°, 97%, 49%
CMYK
24, 0, 98, 3
Luminance
0.7796

Every format

HEX#bdf804
RGBrgb(189, 248, 4)
HSLhsl(75, 97%, 49%)
CMYKcmyk(24%, 0%, 98%, 3%)
LABlab(90.8 -44.6 87.4)
LCHlch(90.8 98.1 117.0)
OKLCHoklch(0.905 0.228 125.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdf804 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#bdf804 on black: 16.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green97.3%
Blue1.6%

CMYK percentages

Cyan23.8%
Magenta0.0%
Yellow98.4%
Key (black)2.7%

Color previews

#bdf804 text on a black background

contrast 16.59:1

Card sample

#bdf804 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdf804

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf804 in the Color Lab