Skip to content

#ecebaa

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

RGB
236, 235, 170
HSL
59°, 64%, 80%
CMYK
0, 0, 28, 8
Luminance
0.8015

Every format

HEX#ecebaa
RGBrgb(236, 235, 170)
HSLhsl(59, 64%, 80%)
CMYKcmyk(0%, 0%, 28%, 8%)
LABlab(91.8 -9.6 31.8)
LCHlch(91.8 33.2 106.8)
OKLCHoklch(0.925 0.083 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecebaa on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ecebaa on black: 17.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.2%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow28.0%
Key (black)7.5%

Color previews

#ecebaa text on a black background

contrast 17.03:1

Card sample

#ecebaa text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecebaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecebaa in the Color Lab