Skip to content

#dfdf79

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

RGB
223, 223, 121
HSL
60°, 61%, 68%
CMYK
0, 0, 46, 13
Luminance
0.6984

Every format

HEX#dfdf79
RGBrgb(223, 223, 121)
HSLhsl(60, 61%, 68%)
CMYKcmyk(0%, 0%, 46%, 13%)
LABlab(86.9 -14.1 49.7)
LCHlch(86.9 51.6 105.8)
OKLCHoklch(0.882 0.125 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf79 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf79 on black: 14.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow45.7%
Key (black)12.5%

Color previews

#dfdf79 text on a black background

contrast 14.97:1

Card sample

#dfdf79 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf79

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf79 in the Color Lab