Skip to content

#dcbc4f

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

RGB
220, 188, 79
HSL
46°, 67%, 59%
CMYK
0, 15, 64, 14
Luminance
0.5175

Every format

HEX#dcbc4f
RGBrgb(220, 188, 79)
HSLhsl(46, 67%, 59%)
CMYKcmyk(0%, 15%, 64%, 14%)
LABlab(77.1 -0.8 57.7)
LCHlch(77.1 57.7 90.7)
OKLCHoklch(0.803 0.132 92.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcbc4f on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#dcbc4f on black: 11.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green73.7%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow64.1%
Key (black)13.7%

Color previews

#dcbc4f text on a black background

contrast 11.35:1

Card sample

#dcbc4f text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 188, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 188, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcbc4f;
background: linear-gradient(135deg, #dcbc4f, #9EDC4F);

Monochromatic scale

Palettes built from #dcbc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcbc4f in the Color Lab