Skip to content

#dfdf5e

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

RGB
223, 223, 94
HSL
60°, 67%, 62%
CMYK
0, 0, 58, 13
Luminance
0.6927

Every format

HEX#dfdf5e
RGBrgb(223, 223, 94)
HSLhsl(60, 67%, 62%)
CMYKcmyk(0%, 0%, 58%, 13%)
LABlab(86.6 -16.3 61.7)
LCHlch(86.6 63.8 104.8)
OKLCHoklch(0.879 0.150 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue36.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow57.8%
Key (black)12.5%

Color previews

#dfdf5e text on a black background

contrast 14.85:1

Card sample

#dfdf5e text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf5e in the Color Lab