Skip to content

#dfd049

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

RGB
223, 208, 73
HSL
54°, 70%, 58%
CMYK
0, 7, 67, 13
Luminance
0.6128

Every format

HEX#dfd049
RGBrgb(223, 208, 73)
HSLhsl(54, 70%, 58%)
CMYKcmyk(0%, 7%, 67%, 13%)
LABlab(82.5 -10.1 66.0)
LCHlch(82.5 66.7 98.7)
OKLCHoklch(0.846 0.152 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd049 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dfd049 on black: 13.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.6%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow67.3%
Key (black)12.5%

Color previews

#dfd049 text on a black background

contrast 13.26:1

Card sample

#dfd049 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd049 in the Color Lab