Skip to content

#dfdf19

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

RGB
223, 223, 25
HSL
60°, 80%, 49%
CMYK
0, 0, 89, 13
Luminance
0.6853

Every format

HEX#dfdf19
RGBrgb(223, 223, 25)
HSLhsl(60, 80%, 49%)
CMYKcmyk(0%, 0%, 89%, 13%)
LABlab(86.3 -19.2 82.8)
LCHlch(86.3 85.0 103.1)
OKLCHoklch(0.875 0.187 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue9.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow88.8%
Key (black)12.5%

Color previews

#dfdf19 text on a black background

contrast 14.71:1

Card sample

#dfdf19 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf19

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf19 in the Color Lab