Skip to content

#ebdf56

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

RGB
235, 223, 86
HSL
55°, 79%, 63%
CMYK
0, 5, 63, 8
Luminance
0.7111

Every format

HEX#ebdf56
RGBrgb(235, 223, 86)
HSLhsl(55, 79%, 63%)
CMYKcmyk(0%, 5%, 63%, 8%)
LABlab(87.5 -11.9 66.3)
LCHlch(87.5 67.3 100.2)
OKLCHoklch(0.888 0.155 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green87.5%
Blue33.7%

CMYK percentages

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

Color previews

#ebdf56 text on a black background

contrast 15.22:1

Card sample

#ebdf56 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf56 in the Color Lab