Skip to content

#dfdf96

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

RGB
223, 223, 150
HSL
60°, 53%, 73%
CMYK
0, 0, 33, 13
Luminance
0.7067

Every format

HEX#dfdf96
RGBrgb(223, 223, 150)
HSLhsl(60, 53%, 73%)
CMYKcmyk(0%, 0%, 33%, 13%)
LABlab(87.3 -11.0 35.9)
LCHlch(87.3 37.5 107.0)
OKLCHoklch(0.887 0.093 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf96 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf96 on black: 15.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue58.8%

CMYK percentages

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

Color previews

#dfdf96 text on a black background

contrast 15.13:1

Card sample

#dfdf96 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf96

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf96 in the Color Lab