Skip to content

#dcdf32

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

RGB
220, 223, 50
HSL
61°, 73%, 54%
CMYK
1, 0, 78, 13
Luminance
0.6822

Every format

HEX#dcdf32
RGBrgb(220, 223, 50)
HSLhsl(61, 73%, 54%)
CMYKcmyk(1%, 0%, 78%, 13%)
LABlab(86.1 -19.8 77.1)
LCHlch(86.1 79.6 104.4)
OKLCHoklch(0.874 0.179 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdf32 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf32 on black: 14.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue19.6%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow77.6%
Key (black)12.5%

Color previews

#dcdf32 text on a black background

contrast 14.64:1

Card sample

#dcdf32 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf32 in the Color Lab