Skip to content

#eceb78

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

RGB
236, 235, 120
HSL
60°, 75%, 70%
CMYK
0, 0, 49, 8
Luminance
0.7861

Every format

HEX#eceb78
RGBrgb(236, 235, 120)
HSLhsl(60, 75%, 70%)
CMYKcmyk(0%, 0%, 49%, 8%)
LABlab(91.1 -14.9 55.4)
LCHlch(91.1 57.3 105.1)
OKLCHoklch(0.918 0.138 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.2%
Blue47.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow49.2%
Key (black)7.5%

Color previews

#eceb78 text on a black background

contrast 16.72:1

Card sample

#eceb78 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eceb78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eceb78 in the Color Lab