Skip to content

#dfdf99

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

RGB
223, 223, 153
HSL
60°, 52%, 74%
CMYK
0, 0, 31, 13
Luminance
0.7076

Every format

HEX#dfdf99
RGBrgb(223, 223, 153)
HSLhsl(60, 52%, 74%)
CMYKcmyk(0%, 0%, 31%, 13%)
LABlab(87.4 -10.6 34.4)
LCHlch(87.4 36.0 107.1)
OKLCHoklch(0.887 0.090 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow31.4%
Key (black)12.5%

Color previews

#dfdf99 text on a black background

contrast 15.15:1

Card sample

#dfdf99 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf99 in the Color Lab