Skip to content

#d2f708

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

RGB
210, 247, 8
HSL
69°, 94%, 50%
CMYK
15, 0, 97, 3
Luminance
0.8024

Every format

HEX#d2f708
RGBrgb(210, 247, 8)
HSLhsl(69, 94%, 50%)
CMYKcmyk(15%, 0%, 97%, 3%)
LABlab(91.8 -36.0 88.5)
LCHlch(91.8 95.5 112.1)
OKLCHoklch(0.917 0.217 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f708 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#d2f708 on black: 17.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green96.9%
Blue3.1%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow96.8%
Key (black)3.1%

Color previews

#d2f708 text on a black background

contrast 17.05:1

Card sample

#d2f708 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 247, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 247, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f708;
background: linear-gradient(135deg, #d2f708, #33F708);

Monochromatic scale

Palettes built from #d2f708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f708 in the Color Lab