Maroon Colors  ·  Color Library

Palettes / Colors / #DEB221

#DEB221 — Yellow

#DEB221 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 #DEB221 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.

#DEB221 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 #214DDE; it also sits naturally between #DE5321 and #ACDE21. In the palettes below you can see it working alongside real color combinations from our collection.

#DEB221 · RGB 222, 178, 33

Download PNG swatch SVG

Color values

HEX#DEB221
RGB222, 178, 33
HSL46°, 74%, 50%
HSV46°, 85%, 87%
CMYK0%, 20%, 85%, 13%
XYZ46.32, 47.48, 8.16
Yxy47.48, 0.4543, 0.4657
CIE-Lab74.50, 3.40, 71.70
Hunter Lab68.91, 3.13, 38.90

RGB & CMYK percentages

Red 87% · Green 70% · Blue 13%

Cyan 0% · Magenta 20% · Yellow 85% · Key 13%

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

Previews

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

CSS code for #DEB221

.text { color: #DEB221; }
.background { background-color: #DEB221; }
.border { border: 3px solid #DEB221; }
.text-rgb { color: rgb(222, 178, 33); }
.text-hsl { color: hsl(46, 74%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DEB221; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(222, 178, 33, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DEB221; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(222, 178, 33, 0.8); }

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

Shades of #DEB221

#C8A01E#B6921B#A08018#8E7215#786012#624E0F#50400C#3A2E09#282006#120E03

Tints of #DEB221

#E1BA37#E4C049#E7C75F#EACE71#EDD587#F0DD9D#F3E3AF#F6EBC5#F9F1D7#FCF9ED

Tones of #DEB221

#D0AA2F#C3A43C#B59C4A#A89557#9A8E65#8E8771

Color harmonies

Complementary — #214DDE:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.00:1 Fails
Against black text10.50:1 AAA

Best text color on #DEB221: #000000.

Semi-transparent (opacity) text on #DEB221

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

How #DEB221 looks with color blindness

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

Protanopia · #CBCB44Deuteranopia · #CED14DTritanopia · #DC6066

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:

Tailwind yellow 500 · #EAB308Tailwind amber 500 · #F59E0BMaterial Amber 500 · #FFC107

Palettes with a similar color

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

Crimson Ruby Horizon
#6E1487 · #DAB321 · #39E1BE · #E4CAF1
Dreamy Mirage
#18A27E · #8D1AB6 · #E0B027 · #B7EDE1
Palette 61481c
#61481C · #A47E3B · #BF9742 · #E6B325
Palette 0b1849
#0B1849 · #124D1C · #E4B028 · #EBEDE3
Electric Opal
#E88EB4 · #E26749 · #DFBC29 · #C4F086
Palette 219c90
#219C90 · #E9B824 · #EE9322 · #D83F31

Similar colors

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

#DAB321#E0B027#E6B325#E4B028#DFBC29#E9B824#E7AD18#DEA72A#D8BD2A#E6AF2E#D7B013#CCB51E

Browse neighbouring colors

← #DEB220  ·  #DEB222 →

Frequently asked questions

What color is #DEB221?

#DEB221 is Yellow, a yellow color (RGB 222, 178, 33). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DEB221?

#DEB221 is RGB 222, 178, 33 — HSL 46°, 74%, 50% — CMYK 0%, 20%, 85%, 13%.

What colors go with #DEB221?

Its complement is #214DDE; analogous partners are #DE5321 and #ACDE21. It also appears in 6+ palettes in our collection.

Can I use #DEB221 for text?

Black text on #DEB221 has a contrast ratio of 10.50:1 (passes WCAG AA); white text gives 2.00:1.