Skip to content

#dfdf8f

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

RGB
223, 223, 143
HSL
60°, 56%, 72%
CMYK
0, 0, 36, 13
Luminance
0.7045

Every format

HEX#dfdf8f
RGBrgb(223, 223, 143)
HSLhsl(60, 56%, 72%)
CMYKcmyk(0%, 0%, 36%, 13%)
LABlab(87.2 -11.8 39.3)
LCHlch(87.2 41.0 106.7)
OKLCHoklch(0.886 0.102 108.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue56.1%

CMYK percentages

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

Color previews

#dfdf8f text on a black background

contrast 15.09:1

Card sample

#dfdf8f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf8f in the Color Lab