Skip to content

#dfdf6e

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

RGB
223, 223, 110
HSL
60°, 64%, 65%
CMYK
0, 0, 51, 13
Luminance
0.6959

Every format

HEX#dfdf6e
RGBrgb(223, 223, 110)
HSLhsl(60, 64%, 65%)
CMYKcmyk(0%, 0%, 51%, 13%)
LABlab(86.8 -15.0 54.7)
LCHlch(86.8 56.7 105.4)
OKLCHoklch(0.881 0.136 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue43.1%

CMYK percentages

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

Color previews

#dfdf6e text on a black background

contrast 14.92:1

Card sample

#dfdf6e text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf6e in the Color Lab