Skip to content

#eddf9d

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

RGB
237, 223, 157
HSL
50°, 69%, 77%
CMYK
0, 6, 34, 7
Luminance
0.7321

Every format

HEX#eddf9d
RGBrgb(237, 223, 157)
HSLhsl(50, 69%, 77%)
CMYKcmyk(0%, 6%, 34%, 7%)
LABlab(88.5 -4.8 34.1)
LCHlch(88.5 34.5 98.0)
OKLCHoklch(0.900 0.086 97.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eddf9d on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#eddf9d on black: 15.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green87.5%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow33.8%
Key (black)7.1%

Color previews

#eddf9d text on a black background

contrast 15.64:1

Card sample

#eddf9d text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eddf9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eddf9d in the Color Lab