Skip to content

#dfd494

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

RGB
223, 212, 148
HSL
51°, 54%, 73%
CMYK
0, 5, 34, 13
Luminance
0.6491

Every format

HEX#dfd494
RGBrgb(223, 212, 148)
HSLhsl(51, 54%, 73%)
CMYKcmyk(0%, 5%, 34%, 13%)
LABlab(84.4 -5.6 33.1)
LCHlch(84.4 33.6 99.7)
OKLCHoklch(0.864 0.083 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd494 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dfd494 on black: 13.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue58.0%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow33.6%
Key (black)12.5%

Color previews

#dfd494 text on a black background

contrast 13.98:1

Card sample

#dfd494 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd494

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd494 in the Color Lab