Skip to content

#dfdb6b

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

RGB
223, 219, 107
HSL
58°, 64%, 65%
CMYK
0, 2, 52, 13
Luminance
0.6741

Every format

HEX#dfdb6b
RGBrgb(223, 219, 107)
HSLhsl(58, 64%, 65%)
CMYKcmyk(0%, 2%, 52%, 13%)
LABlab(85.7 -13.3 54.8)
LCHlch(85.7 56.4 103.6)
OKLCHoklch(0.872 0.135 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb6b on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb6b on black: 14.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.9%
Blue42.0%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow52.0%
Key (black)12.5%

Color previews

#dfdb6b text on a black background

contrast 14.48:1

Card sample

#dfdb6b text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb6b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb6b in the Color Lab