Skip to content

#ecdf80

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

RGB
236, 223, 128
HSL
53°, 74%, 71%
CMYK
0, 6, 46, 8
Luminance
0.7217

Every format

HEX#ecdf80
RGBrgb(236, 223, 128)
HSLhsl(53, 74%, 71%)
CMYKcmyk(0%, 6%, 46%, 8%)
LABlab(88.0 -8.3 47.9)
LCHlch(88.0 48.6 99.8)
OKLCHoklch(0.894 0.117 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecdf80 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#ecdf80 on black: 15.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green87.5%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow45.8%
Key (black)7.5%

Color previews

#ecdf80 text on a black background

contrast 15.43:1

Card sample

#ecdf80 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdf80 in the Color Lab