Skip to content

#dfcc3f

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

RGB
223, 204, 63
HSL
53°, 71%, 56%
CMYK
0, 9, 72, 13
Luminance
0.5923

Every format

HEX#dfcc3f
RGBrgb(223, 204, 63)
HSLhsl(53, 71%, 56%)
CMYKcmyk(0%, 9%, 72%, 13%)
LABlab(81.4 -8.6 68.6)
LCHlch(81.4 69.1 97.1)
OKLCHoklch(0.837 0.155 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow71.7%
Key (black)12.5%

Color previews

#dfcc3f text on a black background

contrast 12.85:1

Card sample

#dfcc3f text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc3f in the Color Lab