Skip to content

#dfdc50

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

RGB
223, 220, 80
HSL
59°, 69%, 59%
CMYK
0, 1, 64, 13
Luminance
0.6745

Every format

HEX#dfdc50
RGBrgb(223, 220, 80)
HSLhsl(59, 69%, 59%)
CMYKcmyk(0%, 1%, 64%, 13%)
LABlab(85.7 -15.7 66.5)
LCHlch(85.7 68.3 103.3)
OKLCHoklch(0.872 0.158 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdc50 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dfdc50 on black: 14.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.3%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow64.1%
Key (black)12.5%

Color previews

#dfdc50 text on a black background

contrast 14.49:1

Card sample

#dfdc50 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 220, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 220, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdc50;
background: linear-gradient(135deg, #dfdc50, #83DF50);

Monochromatic scale

Palettes built from #dfdc50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdc50 in the Color Lab