Skip to content

#dcdd0f

a balanced, electric yellow · cool · closest name: yellow

RGB
220, 221, 15
HSL
60°, 87%, 46%
CMYK
1, 0, 93, 13
Luminance
0.6696

Every format

HEX#dcdd0f
RGBrgb(220, 221, 15)
HSLhsl(60, 87%, 46%)
CMYKcmyk(1%, 0%, 93%, 13%)
LABlab(85.5 -19.6 83.4)
LCHlch(85.5 85.7 103.2)
OKLCHoklch(0.868 0.188 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdd0f on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#dcdd0f on black: 14.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green86.7%
Blue5.9%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow93.2%
Key (black)13.3%

Color previews

#dcdd0f text on a black background

contrast 14.39:1

Card sample

#dcdd0f text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 221, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 221, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcdd0f;
background: linear-gradient(135deg, #dcdd0f, #53DD0F);

Monochromatic scale

Palettes built from #dcdd0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdd0f in the Color Lab