Skip to content

#dfdf92

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

RGB
223, 223, 146
HSL
60°, 55%, 72%
CMYK
0, 0, 35, 13
Luminance
0.7054

Every format

HEX#dfdf92
RGBrgb(223, 223, 146)
HSLhsl(60, 55%, 72%)
CMYKcmyk(0%, 0%, 35%, 13%)
LABlab(87.3 -11.4 37.8)
LCHlch(87.3 39.5 106.8)
OKLCHoklch(0.886 0.098 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow34.5%
Key (black)12.5%

Color previews

#dfdf92 text on a black background

contrast 15.11:1

Card sample

#dfdf92 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf92 in the Color Lab