Skip to content

#ffeb78

a light, electric yellow · cool · closest name: khaki

RGB
255, 235, 120
HSL
51°, 100%, 74%
CMYK
0, 8, 53, 0
Luminance
0.8203

Every format

HEX#ffeb78
RGBrgb(255, 235, 120)
HSLhsl(51, 100%, 74%)
CMYKcmyk(0%, 8%, 53%, 0%)
LABlab(92.6 -7.4 57.5)
LCHlch(92.6 58.0 97.3)
OKLCHoklch(0.934 0.137 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffeb78 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ffeb78 on black: 17.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.2%
Blue47.1%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow52.9%
Key (black)0.0%

Color previews

#ffeb78 text on a black background

contrast 17.41:1

Card sample

#ffeb78 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeb78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeb78 in the Color Lab