Skip to content

#dfd080

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

RGB
223, 208, 128
HSL
51°, 60%, 69%
CMYK
0, 7, 43, 13
Luminance
0.6236

Every format

HEX#dfd080
RGBrgb(223, 208, 128)
HSLhsl(51, 60%, 69%)
CMYKcmyk(0%, 7%, 43%, 13%)
LABlab(83.1 -5.8 41.5)
LCHlch(83.1 41.9 98.0)
OKLCHoklch(0.852 0.102 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd080 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#dfd080 on black: 13.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.6%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow42.6%
Key (black)12.5%

Color previews

#dfd080 text on a black background

contrast 13.47:1

Card sample

#dfd080 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd080 in the Color Lab