Skip to content

#dfcc45

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

RGB
223, 204, 69
HSL
53°, 71%, 57%
CMYK
0, 9, 69, 13
Luminance
0.5930

Every format

HEX#dfcc45
RGBrgb(223, 204, 69)
HSLhsl(53, 71%, 57%)
CMYKcmyk(0%, 9%, 69%, 13%)
LABlab(81.5 -8.3 66.4)
LCHlch(81.5 66.9 97.1)
OKLCHoklch(0.837 0.151 101.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow69.1%
Key (black)12.5%

Color previews

#dfcc45 text on a black background

contrast 12.86:1

Card sample

#dfcc45 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc45 in the Color Lab