Skip to content

#dfdf66

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

RGB
223, 223, 102
HSL
60°, 65%, 64%
CMYK
0, 0, 54, 13
Luminance
0.6942

Every format

HEX#dfdf66
RGBrgb(223, 223, 102)
HSLhsl(60, 65%, 64%)
CMYKcmyk(0%, 0%, 54%, 13%)
LABlab(86.7 -15.7 58.2)
LCHlch(86.7 60.3 105.1)
OKLCHoklch(0.880 0.143 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf66 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf66 on black: 14.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue40.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow54.3%
Key (black)12.5%

Color previews

#dfdf66 text on a black background

contrast 14.88:1

Card sample

#dfdf66 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf66

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf66 in the Color Lab