Skip to content

#dfdb71

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

RGB
223, 219, 113
HSL
58°, 63%, 66%
CMYK
0, 2, 49, 13
Luminance
0.6754

Every format

HEX#dfdb71
RGBrgb(223, 219, 113)
HSLhsl(58, 63%, 66%)
CMYKcmyk(0%, 2%, 49%, 13%)
LABlab(85.8 -12.8 52.1)
LCHlch(85.8 53.6 103.8)
OKLCHoklch(0.873 0.129 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.9%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow49.3%
Key (black)12.5%

Color previews

#dfdb71 text on a black background

contrast 14.51:1

Card sample

#dfdb71 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb71

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb71 in the Color Lab