Skip to content

#dfcc3e

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

RGB
223, 204, 62
HSL
53°, 72%, 56%
CMYK
0, 9, 72, 13
Luminance
0.5922

Every format

HEX#dfcc3e
RGBrgb(223, 204, 62)
HSLhsl(53, 72%, 56%)
CMYKcmyk(0%, 9%, 72%, 13%)
LABlab(81.4 -8.6 69.0)
LCHlch(81.4 69.5 97.1)
OKLCHoklch(0.837 0.155 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc3e on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc3e on black: 12.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue24.3%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow72.2%
Key (black)12.5%

Color previews

#dfcc3e text on a black background

contrast 12.84:1

Card sample

#dfcc3e text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc3e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc3e in the Color Lab