Skip to content

#dfdf36

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

RGB
223, 223, 54
HSL
60°, 73%, 54%
CMYK
0, 0, 76, 13
Luminance
0.6873

Every format

HEX#dfdf36
RGBrgb(223, 223, 54)
HSLhsl(60, 73%, 54%)
CMYKcmyk(0%, 0%, 76%, 13%)
LABlab(86.4 -18.4 76.2)
LCHlch(86.4 78.4 103.6)
OKLCHoklch(0.876 0.176 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf36 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf36 on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue21.2%

CMYK percentages

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

Color previews

#dfdf36 text on a black background

contrast 14.75:1

Card sample

#dfdf36 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf36

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf36 in the Color Lab