Skip to content

#dfcc26

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

RGB
223, 204, 38
HSL
54°, 74%, 51%
CMYK
0, 9, 83, 13
Luminance
0.5901

Every format

HEX#dfcc26
RGBrgb(223, 204, 38)
HSLhsl(54, 74%, 51%)
CMYKcmyk(0%, 9%, 83%, 13%)
LABlab(81.3 -9.5 76.1)
LCHlch(81.3 76.7 97.1)
OKLCHoklch(0.836 0.167 102.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc26 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc26 on black: 12.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue14.9%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow83.0%
Key (black)12.5%

Color previews

#dfcc26 text on a black background

contrast 12.80:1

Card sample

#dfcc26 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 204, 38, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 204, 38, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfcc26;
background: linear-gradient(135deg, #dfcc26, #77DF26);

Monochromatic scale

Palettes built from #dfcc26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc26 in the Color Lab