Skip to content

#dfdf62

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

RGB
223, 223, 98
HSL
60°, 66%, 63%
CMYK
0, 0, 56, 13
Luminance
0.6935

Every format

HEX#dfdf62
RGBrgb(223, 223, 98)
HSLhsl(60, 66%, 63%)
CMYKcmyk(0%, 0%, 56%, 13%)
LABlab(86.7 -16.0 60.0)
LCHlch(86.7 62.1 104.9)
OKLCHoklch(0.880 0.147 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue38.4%

CMYK percentages

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

Color previews

#dfdf62 text on a black background

contrast 14.87:1

Card sample

#dfdf62 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf62

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf62 in the Color Lab