Skip to content
Kolorvia
#dcdc2d

Color #dcdc2d

A vivid, highly saturated medium yellow.

Conversions

HEX
#dcdc2d
RGB
rgb(220, 220, 45)
HSL
hsl(60, 71.4%, 52%)
HSV / HSB
hsv(60, 79.5%, 86.3%)
CMYK
cmyk(0%, 0%, 79.5%, 13.7%)
LAB
lab(85.3, -18.5, 77.69)
LCH
lch(85.3, 79.86, 103.39)
OKLCH
oklch(86.7%, 0.1784, 109.62)
HWB
hwb(60, 17.6%, 13.7%)

Harmony colors

Complementary

#2d2ddc

Analogous

#dc852d
#dcdc2d
#85dc2d

Triadic

#dcdc2d
#2ddcdc
#dc2ddc

Split-complementary

#dcdc2d
#2d85dc
#852ddc

Tetradic

#dcdc2d
#2ddc2d
#2d2ddc
#dc2ddc

Square

#dcdc2d
#2ddc85
#2d2ddc
#dc2d85

Shades

Color #dcdc2d mixed toward black.

#bdbd20
#989819
#727213
#4c4c0d
#262606

Tints

Color #dcdc2d mixed toward white.

#e2e250
#e8e873
#eded96
#f3f3b9
#f9f9dc

Tones

Color #dcdc2d mixed toward gray.

#cdcd3c
#bfbf4a
#b0b059
#a2a267
#939376

Accessibility

Aa White text on this color
1.47:1
Aa Black text on this color
14.32:1

Black text reads better on this background (14.32:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#dcdc7a · ΔE 7.8

Deuteranopia

#dcdc85 · ΔE 9.5

Tritanopia

#dc9aa0 · ΔE 47

Achromatopsia

#d5d5d5 · ΔE 28.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #dcdc2d;
Tailwind (arbitrary value)
bg-[#dcdc2d]

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

Frequently asked questions

#dcdc2d (#dcdc2d) is rgb(220, 220, 45) in RGB.

No, #dcdc2d is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #dcdc2d, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.