Skip to content

#eddf5d

a balanced, electric yellow · cool · closest name: khaki

RGB
237, 223, 93
HSL
54°, 80%, 65%
CMYK
0, 6, 61, 7
Luminance
0.7157

Every format

HEX#eddf5d
RGBrgb(237, 223, 93)
HSLhsl(54, 80%, 65%)
CMYKcmyk(0%, 6%, 61%, 7%)
LABlab(87.8 -10.6 63.6)
LCHlch(87.8 64.5 99.5)
OKLCHoklch(0.891 0.150 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eddf5d on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#eddf5d on black: 15.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green87.5%
Blue36.5%

CMYK percentages

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

Color previews

#eddf5d text on a black background

contrast 15.31:1

Card sample

#eddf5d text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eddf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eddf5d in the Color Lab