Skip to content

#ebec50

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

RGB
235, 236, 80
HSL
60°, 80%, 62%
CMYK
0, 0, 66, 8
Luminance
0.7823

Every format

HEX#ebec50
RGBrgb(235, 236, 80)
HSLhsl(60, 80%, 62%)
CMYKcmyk(0%, 0%, 66%, 8%)
LABlab(90.9 -18.6 72.1)
LCHlch(90.9 74.4 104.5)
OKLCHoklch(0.915 0.172 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebec50 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ebec50 on black: 16.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green92.5%
Blue31.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow66.1%
Key (black)7.5%

Color previews

#ebec50 text on a black background

contrast 16.65:1

Card sample

#ebec50 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebec50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebec50 in the Color Lab