Skip to content

#eceb98

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

RGB
236, 235, 152
HSL
59°, 69%, 76%
CMYK
0, 0, 36, 8
Luminance
0.7952

Every format

HEX#eceb98
RGBrgb(236, 235, 152)
HSLhsl(59, 69%, 76%)
CMYKcmyk(0%, 0%, 36%, 8%)
LABlab(91.5 -11.8 40.4)
LCHlch(91.5 42.1 106.2)
OKLCHoklch(0.922 0.104 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eceb98 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#eceb98 on black: 16.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.2%
Blue59.6%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow35.6%
Key (black)7.5%

Color previews

#eceb98 text on a black background

contrast 16.90:1

Card sample

#eceb98 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eceb98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eceb98 in the Color Lab