Skip to content

#dfd488

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

RGB
223, 212, 136
HSL
52°, 58%, 70%
CMYK
0, 5, 39, 13
Luminance
0.6455

Every format

HEX#dfd488
RGBrgb(223, 212, 136)
HSLhsl(52, 58%, 70%)
CMYKcmyk(0%, 5%, 39%, 13%)
LABlab(84.3 -7.0 39.0)
LCHlch(84.3 39.6 100.2)
OKLCHoklch(0.862 0.097 101.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd488 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#dfd488 on black: 13.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue53.3%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow39.0%
Key (black)12.5%

Color previews

#dfd488 text on a black background

contrast 13.91:1

Card sample

#dfd488 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd488

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd488 in the Color Lab