Skip to content

#dfdb2b

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

RGB
223, 219, 43
HSL
59°, 74%, 52%
CMYK
0, 2, 81, 13
Luminance
0.6653

Every format

HEX#dfdb2b
RGBrgb(223, 219, 43)
HSLhsl(59, 74%, 52%)
CMYKcmyk(0%, 2%, 81%, 13%)
LABlab(85.3 -16.8 78.3)
LCHlch(85.3 80.1 102.1)
OKLCHoklch(0.867 0.178 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb2b on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb2b on black: 14.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.9%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow80.7%
Key (black)12.5%

Color previews

#dfdb2b text on a black background

contrast 14.31:1

Card sample

#dfdb2b text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb2b in the Color Lab