Skip to content

#dfd161

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

RGB
223, 209, 97
HSL
53°, 66%, 63%
CMYK
0, 6, 57, 13
Luminance
0.6215

Every format

HEX#dfd161
RGBrgb(223, 209, 97)
HSLhsl(53, 66%, 63%)
CMYKcmyk(0%, 6%, 57%, 13%)
LABlab(83.0 -9.1 56.3)
LCHlch(83.0 57.0 99.1)
OKLCHoklch(0.850 0.134 102.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd161 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#dfd161 on black: 13.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.0%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow56.5%
Key (black)12.5%

Color previews

#dfd161 text on a black background

contrast 13.43:1

Card sample

#dfd161 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd161

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd161 in the Color Lab