Skip to content

#dfdf14

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

RGB
223, 223, 20
HSL
60°, 84%, 48%
CMYK
0, 0, 91, 13
Luminance
0.6851

Every format

HEX#dfdf14
RGBrgb(223, 223, 20)
HSLhsl(60, 84%, 48%)
CMYKcmyk(0%, 0%, 91%, 13%)
LABlab(86.3 -19.3 83.5)
LCHlch(86.3 85.7 103.0)
OKLCHoklch(0.875 0.188 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue7.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow91.0%
Key (black)12.5%

Color previews

#dfdf14 text on a black background

contrast 14.70:1

Card sample

#dfdf14 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf14

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf14 in the Color Lab