Maroon Colors  ·  Color Library

Palettes / Colors / #DCD028

#DCD028 — Yellow

#DCD028 is a yellow color we call Yellow, closest to the named color GoldenRod (#DAA520). It belongs to the yellow family.

Color name

Closest CSS keyword: goldenrod (#DAA520) — not an exact match. CSS goldenrod gives you #DAA520, a different color; use #DCD028 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#DCD028 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #2834DC; it also sits naturally between #DC7628 and #8EDC28. In the palettes below you can see it working alongside real color combinations from our collection.

#DCD028 · RGB 220, 208, 40

Download PNG swatch SVG

Color values

HEX#DCD028
RGB220, 208, 40
HSL56°, 72%, 51%
HSV56°, 82%, 86%
CMYK0%, 5%, 82%, 14%
XYZ52.45, 60.48, 10.92
Yxy60.48, 0.4235, 0.4883
CIE-Lab82.10, -12.71, 76.22
Hunter Lab77.77, -11.73, 43.49

RGB & CMYK percentages

Red 86% · Green 82% · Blue 16%

Cyan 0% · Magenta 5% · Yellow 82% · Key 14%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #DCD028 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #DCD028 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #DCD028

.text { color: #DCD028; }
.background { background-color: #DCD028; }
.border { border: 3px solid #DCD028; }
.text-rgb { color: rgb(220, 208, 40); }
.text-hsl { color: hsl(56, 72%, 51%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DCD028; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(220, 208, 40, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DCD028; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(220, 208, 40, 0.8); }

HTML: <p style="color:#DCD028">Text here</p> · <div style="background-color:#DCD028">Div content here</div>

Shades of #DCD028

#CABE21#B8AE1E#A2991A#8C8517#7B7414#655F10#4F4B0D#393609#272506#121103

Tints of #DCD028

#E0D53E#E2D950#E6DD65#E9E177#ECE68D#EFEA9F#F3EFB4#F6F3C6#F9F7DC#FCFBED

Tones of #DCD028

#D0C535#C2B942#B5AE4F#A9A45B#9C9968#8F8D76

Color harmonies

Complementary — #2834DC:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.60:1 Fails
Against black text13.10:1 AAA

Best text color on #DCD028: #000000.

Semi-transparent (opacity) text on #DCD028

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #DCD028: ·

How #DCD028 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #D7D751Deuteranopia · #D8D85ATritanopia · #DB7178

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Lime 500 · #CDDC39Tailwind yellow 500 · #EAB308Material Yellow 500 · #FFEB3B

Palettes with a similar color

These palettes use a close neighbour of #DCD028 rather than the exact color:

Mellow Ruby Monsoon
#141B87 · #4C71E5 · #DED220 · #E8EDAC
Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Lucky Voyage
#CF6B49 · #EAC083 · #D7CA2D · #B2D254
Velvet Ruby Zephyr
#A2581F · #D5C828 · #B3E46F · #B2EFAC
Radiant Terrace
#DEDA22 · #ADF180 · #6BF08A · #2BE6CB
Mellow Aurora
#17A296 · #D644E4 · #D8C81F · #A7E9DE

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#DED220#E4D329#D7CA2D#D5C828#DEDA22#D8C81F#D0CD2D#D2D929#DDDB30#E3CA1D#D3C526#D2CA32

Browse neighbouring colors

← #DCD027  ·  #DCD029 →

Frequently asked questions

What color is #DCD028?

#DCD028 is Yellow, a yellow color (RGB 220, 208, 40). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DCD028?

#DCD028 is RGB 220, 208, 40 — HSL 56°, 72%, 51% — CMYK 0%, 5%, 82%, 14%.

What colors go with #DCD028?

Its complement is #2834DC; analogous partners are #DC7628 and #8EDC28. It also appears in 6+ palettes in our collection.

Can I use #DCD028 for text?

Black text on #DCD028 has a contrast ratio of 13.10:1 (passes WCAG AA); white text gives 1.60:1.