Skip to content

#dfd950

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

RGB
223, 217, 80
HSL
58°, 69%, 59%
CMYK
0, 3, 64, 13
Luminance
0.6589

Every format

HEX#dfd950
RGBrgb(223, 217, 80)
HSLhsl(58, 69%, 59%)
CMYKcmyk(0%, 3%, 64%, 13%)
LABlab(84.9 -14.2 65.7)
LCHlch(84.9 67.2 102.2)
OKLCHoklch(0.865 0.155 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd950 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dfd950 on black: 14.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.1%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow64.1%
Key (black)12.5%

Color previews

#dfd950 text on a black background

contrast 14.18:1

Card sample

#dfd950 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd950 in the Color Lab