Skip to content

#ebdf50

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

RGB
235, 223, 80
HSL
55°, 80%, 62%
CMYK
0, 5, 66, 8
Luminance
0.7102

Every format

HEX#ebdf50
RGBrgb(235, 223, 80)
HSLhsl(55, 80%, 62%)
CMYKcmyk(0%, 5%, 66%, 8%)
LABlab(87.5 -12.2 68.6)
LCHlch(87.5 69.7 100.1)
OKLCHoklch(0.888 0.159 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green87.5%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow66.0%
Key (black)7.8%

Color previews

#ebdf50 text on a black background

contrast 15.20:1

Card sample

#ebdf50 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf50 in the Color Lab