Maroon Colors  ·  Color Library

Palettes / Colors / #DCDF2A

#DCDF2A — Yellow

#DCDF2A is a yellow color we call Yellow, closest to the named color Gold (#FFD700). It belongs to the yellow family.

Color name

Closest CSS keyword: gold (#FFD700) — not an exact match. CSS gold gives you #FFD700, a different color; use #DCDF2A 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.

#DCDF2A 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 #2D2ADF; it also sits naturally between #DF882A and #82DF2A. In the palettes below you can see it working alongside real color combinations from our collection.

#DCDF2A · RGB 220, 223, 42

Download PNG swatch SVG

Color values

HEX#DCDF2A
RGB220, 223, 42
HSL61°, 74%, 52%
HSV61°, 81%, 87%
CMYK1%, 0%, 81%, 13%
XYZ56.32, 68.16, 12.38
Yxy68.16, 0.4115, 0.4980
CIE-Lab86.09, -20.06, 79.12
Hunter Lab82.56, -18.59, 46.11

RGB & CMYK percentages

Red 86% · Green 87% · Blue 16%

Cyan 1% · Magenta 0% · Yellow 81% · Key 13%

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

Previews

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

CSS code for #DCDF2A

.text { color: #DCDF2A; }
.background { background-color: #DCDF2A; }
.border { border: 3px solid #DCDF2A; }
.text-rgb { color: rgb(220, 223, 42); }
.text-hsl { color: hsl(61, 74%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DCDF2A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(220, 223, 42, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DCDF2A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(220, 223, 42, 0.8); }

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

Shades of #DCDF2A

#CED11F#B8BA1C#A6A919#909216#7A7C13#65660F#4F500C#3D3E09#272806#111203

Tints of #DCDF2A

#DFE23C#E3E552#E6E864#E9EB7A#ECEE8C#EFF09D#F3F4B4#F6F6C5#F9FADC#FCFCED

Tones of #DCDF2A

#CFD237#C3C544#B6B851#AAAC5D#9D9E6B#929277

Color harmonies

Complementary — #2D2ADF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.44:1 Fails
Against black text14.63:1 AAA

Best text color on #DCDF2A: #000000.

Semi-transparent (opacity) text on #DCDF2A

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 #DCDF2A: ·

How #DCDF2A looks with color blindness

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

Protanopia · #DDDD56Deuteranopia · #DDDD60Tritanopia · #DC7880

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 · #CDDC39Material Yellow 500 · #FFEB3BTailwind yellow 500 · #EAB308

Palettes with a similar color

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

Burning Ruby Saffron
#DDDB30 · #A7DB5B · #40C225 · #3FE86A
Hidden Ruby Monsoon
#2117B8 · #8076EE · #D8E324 · #EAEB96
Radiant Terrace
#DEDA22 · #ADF180 · #6BF08A · #2BE6CB
Cosmic Dusk
#714A11 · #D2D929 · #548A1A · #2EDF21
Palette 61a3ba
#61A3BA · #FFFFDD · #D2DE32 · #A2C579
Palette 016a70
#016A70 · #FFFFDD · #D2DE32 · #A2C579

Similar colors

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

#DDDB30#D8E324#DEDA22#D2D929#D2DE32#D6EB2C#E1E237#E4D329#D4E41F#D1E92C#D4EC2E#DED220

Browse neighbouring colors

← #DCDF29  ·  #DCDF2B →

Frequently asked questions

What color is #DCDF2A?

#DCDF2A is Yellow, a yellow color (RGB 220, 223, 42). Its closest standard named color is Gold.

What is the RGB and HSL of #DCDF2A?

#DCDF2A is RGB 220, 223, 42 — HSL 61°, 74%, 52% — CMYK 1%, 0%, 81%, 13%.

What colors go with #DCDF2A?

Its complement is #2D2ADF; analogous partners are #DF882A and #82DF2A. It also appears in 6+ palettes in our collection.

Can I use #DCDF2A for text?

Black text on #DCDF2A has a contrast ratio of 14.63:1 (passes WCAG AA); white text gives 1.44:1.