Skip to content

#d8ff00

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

RGB
216, 255, 0
HSL
69°, 100%, 50%
CMYK
15, 0, 100, 0
Luminance
0.8612

Every format

HEX#d8ff00
RGBrgb(216, 255, 0)
HSLhsl(69, 100%, 50%)
CMYKcmyk(15%, 0%, 100%, 0%)
LABlab(94.4 -37.3 91.2)
LCHlch(94.4 98.5 112.2)
OKLCHoklch(0.939 0.224 120.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8ff00 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#d8ff00 on black: 18.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green100.0%
Blue0.0%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow100.0%
Key (black)0.0%

Color previews

#d8ff00 text on a black background

contrast 18.22:1

Card sample

#d8ff00 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(216, 255, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 255, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d8ff00;
background: linear-gradient(135deg, #d8ff00, #2EFF00);

Monochromatic scale

Palettes built from #d8ff00

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8ff00 in the Color Lab