Skip to content

#d4f608

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

RGB
212, 246, 8
HSL
69°, 94%, 50%
CMYK
14, 0, 97, 4
Luminance
0.7993

Every format

HEX#d4f608
RGBrgb(212, 246, 8)
HSLhsl(69, 94%, 50%)
CMYKcmyk(14%, 0%, 97%, 4%)
LABlab(91.7 -34.7 88.4)
LCHlch(91.7 95.0 111.4)
OKLCHoklch(0.916 0.215 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4f608 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#d4f608 on black: 16.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green96.5%
Blue3.1%

CMYK percentages

Cyan13.8%
Magenta0.0%
Yellow96.7%
Key (black)3.5%

Color previews

#d4f608 text on a black background

contrast 16.99:1

Card sample

#d4f608 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 246, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 246, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4f608;
background: linear-gradient(135deg, #d4f608, #35F608);

Monochromatic scale

Palettes built from #d4f608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4f608 in the Color Lab