Skip to content

#dcad2f

a balanced, vivid yellow · warm · closest name: orange

RGB
220, 173, 47
HSL
44°, 71%, 52%
CMYK
0, 21, 79, 14
Luminance
0.4531

Every format

HEX#dcad2f
RGBrgb(220, 173, 47)
HSLhsl(44, 71%, 52%)
CMYKcmyk(0%, 21%, 79%, 14%)
LABlab(73.1 5.6 66.3)
LCHlch(73.1 66.5 85.2)
OKLCHoklch(0.770 0.144 86.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcad2f on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#dcad2f on black: 10.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green67.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta21.4%
Yellow78.6%
Key (black)13.7%

Color previews

#dcad2f text on a black background

contrast 10.06:1

Card sample

#dcad2f text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 173, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 173, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcad2f;
background: linear-gradient(135deg, #dcad2f, #98DC2F);

Monochromatic scale

Palettes built from #dcad2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcad2f in the Color Lab