Skip to content

#d0f708

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

RGB
208, 247, 8
HSL
70°, 94%, 50%
CMYK
16, 0, 97, 3
Luminance
0.7995

Every format

HEX#d0f708
RGBrgb(208, 247, 8)
HSLhsl(70, 94%, 50%)
CMYKcmyk(16%, 0%, 97%, 3%)
LABlab(91.7 -36.8 88.3)
LCHlch(91.7 95.7 112.6)
OKLCHoklch(0.916 0.218 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green96.9%
Blue3.1%

CMYK percentages

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

Color previews

#d0f708 text on a black background

contrast 16.99:1

Card sample

#d0f708 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0f708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0f708 in the Color Lab