Skip to content

#dfdf16

a balanced, electric yellow · cool · closest name: yellow

RGB
223, 223, 22
HSL
60°, 82%, 48%
CMYK
0, 0, 90, 13
Luminance
0.6852

Every format

HEX#dfdf16
RGBrgb(223, 223, 22)
HSLhsl(60, 82%, 48%)
CMYKcmyk(0%, 0%, 90%, 13%)
LABlab(86.3 -19.2 83.2)
LCHlch(86.3 85.4 103.0)
OKLCHoklch(0.875 0.188 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf16 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf16 on black: 14.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue8.6%

CMYK percentages

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

Color previews

#dfdf16 text on a black background

contrast 14.70:1

Card sample

#dfdf16 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf16 in the Color Lab