Skip to content

#dfdf61

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

RGB
223, 223, 97
HSL
60°, 66%, 63%
CMYK
0, 0, 57, 13
Luminance
0.6933

Every format

HEX#dfdf61
RGBrgb(223, 223, 97)
HSLhsl(60, 66%, 63%)
CMYKcmyk(0%, 0%, 57%, 13%)
LABlab(86.7 -16.1 60.4)
LCHlch(86.7 62.5 104.9)
OKLCHoklch(0.879 0.148 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow56.5%
Key (black)12.5%

Color previews

#dfdf61 text on a black background

contrast 14.87:1

Card sample

#dfdf61 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf61

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf61 in the Color Lab