Skip to content

#dfed89

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

RGB
223, 237, 137
HSL
68°, 74%, 73%
CMYK
6, 0, 42, 7
Luminance
0.7806

Every format

HEX#dfed89
RGBrgb(223, 237, 137)
HSLhsl(68, 74%, 73%)
CMYKcmyk(6%, 0%, 42%, 7%)
LABlab(90.8 -19.3 46.8)
LCHlch(90.8 50.6 112.5)
OKLCHoklch(0.914 0.125 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfed89 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#dfed89 on black: 16.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green92.9%
Blue53.7%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow42.2%
Key (black)7.1%

Color previews

#dfed89 text on a black background

contrast 16.61:1

Card sample

#dfed89 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfed89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfed89 in the Color Lab