Skip to content

#ebdf55

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

RGB
235, 223, 85
HSL
55°, 79%, 63%
CMYK
0, 5, 64, 8
Luminance
0.7109

Every format

HEX#ebdf55
RGBrgb(235, 223, 85)
HSLhsl(55, 79%, 63%)
CMYKcmyk(0%, 5%, 64%, 8%)
LABlab(87.5 -11.9 66.7)
LCHlch(87.5 67.7 100.2)
OKLCHoklch(0.888 0.156 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdf55 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf55 on black: 15.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow63.8%
Key (black)7.8%

Color previews

#ebdf55 text on a black background

contrast 15.22:1

Card sample

#ebdf55 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 223, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 223, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdf55;
background: linear-gradient(135deg, #ebdf55, #93EB55);

Monochromatic scale

Palettes built from #ebdf55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf55 in the Color Lab