Skip to content

#dfdf6b

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

RGB
223, 223, 107
HSL
60°, 64%, 65%
CMYK
0, 0, 52, 13
Luminance
0.6952

Every format

HEX#dfdf6b
RGBrgb(223, 223, 107)
HSLhsl(60, 64%, 65%)
CMYKcmyk(0%, 0%, 52%, 13%)
LABlab(86.8 -15.3 56.0)
LCHlch(86.8 58.1 105.3)
OKLCHoklch(0.881 0.139 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue42.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow52.0%
Key (black)12.5%

Color previews

#dfdf6b text on a black background

contrast 14.90:1

Card sample

#dfdf6b text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf6b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf6b in the Color Lab