Skip to content

#eff708

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

RGB
239, 247, 8
HSL
62°, 94%, 50%
CMYK
3, 0, 97, 3
Luminance
0.8489

Every format

HEX#eff708
RGBrgb(239, 247, 8)
HSLhsl(62, 94%, 50%)
CMYKcmyk(3%, 0%, 97%, 3%)
LABlab(93.8 -24.3 90.9)
LCHlch(93.8 94.1 104.9)
OKLCHoklch(0.939 0.207 112.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eff708 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#eff708 on black: 17.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green96.9%
Blue3.1%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow96.8%
Key (black)3.1%

Color previews

#eff708 text on a black background

contrast 17.98:1

Card sample

#eff708 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eff708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eff708 in the Color Lab