Skip to content

#ecdf90

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

RGB
236, 223, 144
HSL
52°, 71%, 75%
CMYK
0, 6, 39, 8
Luminance
0.7262

Every format

HEX#ecdf90
RGBrgb(236, 223, 144)
HSLhsl(52, 71%, 75%)
CMYKcmyk(0%, 6%, 39%, 8%)
LABlab(88.3 -6.6 40.3)
LCHlch(88.3 40.9 99.3)
OKLCHoklch(0.897 0.100 100.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecdf90 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#ecdf90 on black: 15.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green87.5%
Blue56.5%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow39.0%
Key (black)7.5%

Color previews

#ecdf90 text on a black background

contrast 15.52:1

Card sample

#ecdf90 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdf90

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdf90 in the Color Lab