Skip to content

#ebdb60

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

RGB
235, 219, 96
HSL
53°, 78%, 65%
CMYK
0, 7, 59, 8
Luminance
0.6917

Every format

HEX#ebdb60
RGBrgb(235, 219, 96)
HSLhsl(53, 78%, 65%)
CMYKcmyk(0%, 7%, 59%, 8%)
LABlab(86.6 -9.3 61.0)
LCHlch(86.6 61.7 98.6)
OKLCHoklch(0.881 0.144 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdb60 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#ebdb60 on black: 14.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green85.9%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow59.1%
Key (black)7.8%

Color previews

#ebdb60 text on a black background

contrast 14.83:1

Card sample

#ebdb60 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdb60

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdb60 in the Color Lab