Skip to content

#ebdb78

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

RGB
235, 219, 120
HSL
52°, 74%, 70%
CMYK
0, 7, 49, 8
Luminance
0.6968

Every format

HEX#ebdb78
RGBrgb(235, 219, 120)
HSLhsl(52, 74%, 70%)
CMYKcmyk(0%, 7%, 49%, 8%)
LABlab(86.8 -7.4 50.3)
LCHlch(86.8 50.8 98.3)
OKLCHoklch(0.884 0.122 100.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb78 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb78 on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green85.9%
Blue47.1%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow48.9%
Key (black)7.8%

Color previews

#ebdb78 text on a black background

contrast 14.94:1

Card sample

#ebdb78 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb78 in the Color Lab