Skip to content

#eceb50

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

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

Every format

HEX#eceb50
RGBrgb(236, 235, 80)
HSLhsl(60, 80%, 62%)
CMYKcmyk(0%, 0%, 66%, 8%)
LABlab(90.7 -17.7 71.9)
LCHlch(90.7 74.1 103.8)
OKLCHoklch(0.914 0.171 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eceb50 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#eceb50 on black: 16.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#eceb50 text on a black background

contrast 16.57:1

Card sample

#eceb50 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eceb50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eceb50 in the Color Lab