Skip to content

#dfdf72

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

RGB
223, 223, 114
HSL
60°, 63%, 66%
CMYK
0, 0, 49, 13
Luminance
0.6968

Every format

HEX#dfdf72
RGBrgb(223, 223, 114)
HSLhsl(60, 63%, 66%)
CMYKcmyk(0%, 0%, 49%, 13%)
LABlab(86.8 -14.7 52.9)
LCHlch(86.8 54.9 105.5)
OKLCHoklch(0.881 0.132 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue44.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow48.9%
Key (black)12.5%

Color previews

#dfdf72 text on a black background

contrast 14.94:1

Card sample

#dfdf72 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf72

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf72 in the Color Lab