Skip to content

#dfdd0f

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

RGB
223, 221, 15
HSL
59°, 87%, 47%
CMYK
0, 1, 93, 13
Luminance
0.6744

Every format

HEX#dfdd0f
RGBrgb(223, 221, 15)
HSLhsl(59, 87%, 47%)
CMYKcmyk(0%, 1%, 93%, 13%)
LABlab(85.7 -18.4 83.7)
LCHlch(85.7 85.7 102.4)
OKLCHoklch(0.871 0.187 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdd0f on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dfdd0f on black: 14.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.7%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow93.3%
Key (black)12.5%

Color previews

#dfdd0f text on a black background

contrast 14.49:1

Card sample

#dfdd0f text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdd0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdd0f in the Color Lab