Skip to content

#ecdf82

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

RGB
236, 223, 130
HSL
53°, 74%, 72%
CMYK
0, 6, 45, 8
Luminance
0.7222

Every format

HEX#ecdf82
RGBrgb(236, 223, 130)
HSLhsl(53, 74%, 72%)
CMYKcmyk(0%, 6%, 45%, 8%)
LABlab(88.1 -8.1 47.0)
LCHlch(88.1 47.7 99.7)
OKLCHoklch(0.894 0.115 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue51.0%

CMYK percentages

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

Color previews

#ecdf82 text on a black background

contrast 15.44:1

Card sample

#ecdf82 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdf82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdf82 in the Color Lab