Skip to content

#bdf308

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

RGB
189, 243, 8
HSL
74°, 94%, 49%
CMYK
22, 0, 97, 5
Luminance
0.7494

Every format

HEX#bdf308
RGBrgb(189, 243, 8)
HSLhsl(74, 94%, 49%)
CMYKcmyk(22%, 0%, 97%, 5%)
LABlab(89.4 -42.4 86.0)
LCHlch(89.4 95.9 116.2)
OKLCHoklch(0.894 0.222 124.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red74.1%
Green95.3%
Blue3.1%

CMYK percentages

Cyan22.2%
Magenta0.0%
Yellow96.7%
Key (black)4.7%

Color previews

#bdf308 text on a black background

contrast 15.99:1

Card sample

#bdf308 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdf308

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf308 in the Color Lab