Skip to content

#ecdf84

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

RGB
236, 223, 132
HSL
53°, 73%, 72%
CMYK
0, 6, 44, 8
Luminance
0.7227

Every format

HEX#ecdf84
RGBrgb(236, 223, 132)
HSLhsl(53, 73%, 72%)
CMYKcmyk(0%, 6%, 44%, 8%)
LABlab(88.1 -7.9 46.0)
LCHlch(88.1 46.7 99.7)
OKLCHoklch(0.895 0.113 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue51.8%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow44.1%
Key (black)7.5%

Color previews

#ecdf84 text on a black background

contrast 15.45:1

Card sample

#ecdf84 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdf84

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdf84 in the Color Lab