Maroon Colors  ·  Color Library

Palettes / Colors / #DED22B

#DED22B — Yellow

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

#DED22B 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 #2B37DE; it also sits naturally between #DE792B and #91DE2B. In the palettes below you can see it working alongside real color combinations from our collection.

#DED22B · RGB 222, 210, 43

Download PNG swatch SVG

Color values

HEX#DED22B
RGB222, 210, 43
HSL56°, 73%, 52%
HSV56°, 81%, 87%
CMYK0%, 5%, 81%, 13%
XYZ53.61, 61.80, 11.39
Yxy61.80, 0.4228, 0.4874
CIE-Lab82.81, -12.78, 76.12
Hunter Lab78.61, -11.83, 43.78

RGB & CMYK percentages

Red 87% · Green 82% · Blue 17%

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

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

Previews

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

CSS code for #DED22B

.text { color: #DED22B; }
.background { background-color: #DED22B; }
.border { border: 3px solid #DED22B; }
.text-rgb { color: rgb(222, 210, 43); }
.text-hsl { color: hsl(56, 73%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DED22B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(222, 210, 43, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DED22B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(222, 210, 43, 0.8); }

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

Shades of #DED22B

#CFC420#B9AF1D#A89E1A#928917#7C7513#656010#4F4B0C#3E3A0A#282506#121103

Tints of #DED22B

#E1D63D#E4DA53#E7DE65#EAE37B#EDE78C#F0EA9E#F3EFB4#F6F3C6#F9F8DC#FCFBED

Tones of #DED22B

#D2C737#C4BC45#B8B151#ABA55F#9E9B6B#918F78

Color harmonies

Complementary — #2B37DE:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.57:1 Fails
Against black text13.36:1 AAA

Best text color on #DED22B: #000000.

Semi-transparent (opacity) text on #DED22B

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

How #DED22B looks with color blindness

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

Protanopia · #D9D953Deuteranopia · #DADA5DTritanopia · #DD737A

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 #DED22B rather than the exact color:

Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Burning Ruby Saffron
#DDDB30 · #A7DB5B · #40C225 · #3FE86A
Lucky Voyage
#CF6B49 · #EAC083 · #D7CA2D · #B2D254
Mellow Ruby Monsoon
#141B87 · #4C71E5 · #DED220 · #E8EDAC
Radiant Terrace
#DEDA22 · #ADF180 · #6BF08A · #2BE6CB
Velvet Ruby Zephyr
#A2581F · #D5C828 · #B3E46F · #B2EFAC

Similar colors

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

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

Browse neighbouring colors

← #DED22A  ·  #DED22C →

Frequently asked questions

What color is #DED22B?

#DED22B is Yellow, a yellow color (RGB 222, 210, 43). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DED22B?

#DED22B is RGB 222, 210, 43 — HSL 56°, 73%, 52% — CMYK 0%, 5%, 81%, 13%.

What colors go with #DED22B?

Its complement is #2B37DE; analogous partners are #DE792B and #91DE2B. It also appears in 6+ palettes in our collection.

Can I use #DED22B for text?

Black text on #DED22B has a contrast ratio of 13.36:1 (passes WCAG AA); white text gives 1.57:1.