Maroon Colors  ·  Color Library

Palettes / Colors / #DEC02C

#DEC02C — Yellow

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

#DEC02C 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 #2B49DE; it also sits naturally between #DE672B and #A2DE2B. In the palettes below you can see it working alongside real color combinations from our collection.

#DEC02C · RGB 222, 192, 44

Download PNG swatch SVG

Color values

HEX#DEC02C
RGB222, 192, 44
HSL50°, 73%, 52%
HSV50°, 80%, 87%
CMYK0%, 14%, 80%, 13%
XYZ49.43, 53.41, 10.09
Yxy53.41, 0.4377, 0.4730
CIE-Lab78.12, -3.59, 71.77
Hunter Lab73.08, -3.32, 40.50

RGB & CMYK percentages

Red 87% · Green 75% · Blue 17%

Cyan 0% · Magenta 14% · Yellow 80% · Key 13%

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

Previews

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

CSS code for #DEC02C

.text { color: #DEC02C; }
.background { background-color: #DEC02C; }
.border { border: 3px solid #DEC02C; }
.text-rgb { color: rgb(222, 192, 44); }
.text-hsl { color: hsl(50, 73%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DEC02C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(222, 192, 44, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DEC02C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(222, 192, 44, 0.8); }

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

Shades of #DEC02C

#CFB220#B99F1D#A8901A#927D17#7C6A13#655710#4F440C#3E350A#282206#120F03

Tints of #DEC02C

#E1C53D#E4CC53#E7D165#EAD87B#EDDD8C#F0E29E#F3E9B4#F6EEC6#F9F5DC#FCFAED

Tones of #DEC02C

#D2B837#C4AF45#B8A751#AB9E5F#9E966B#918D78

Color harmonies

Complementary — #2B49DE:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.80:1 Fails
Against black text11.68:1 AAA

Best text color on #DEC02C: #000000.

Semi-transparent (opacity) text on #DEC02C

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

How #DEC02C looks with color blindness

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

Protanopia · #D1D150Deuteranopia · #D3D558Tritanopia · #DC6C72

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 Amber 500 · #FFC107

Palettes with a similar color

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

Electric Opal
#E88EB4 · #E26749 · #DFBC29 · #C4F086
Electric Ruby Aurora
#D8BD2A · #95AC2A · #549318 · #63D44E
Lucky Voyage
#CF6B49 · #EAC083 · #D7CA2D · #B2D254
Velvet Ruby Zephyr
#A2581F · #D5C828 · #B3E46F · #B2EFAC
Crimson Twilight
#841A8E · #D3C526 · #54E0D4 · #D7A9E6
Palette 219c90
#219C90 · #E9B824 · #EE9322 · #D83F31

Similar colors

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

#DFBC29#D8BD2A#D7CA2D#D5C828#D3C526#E9B824#D8C81F#D2CA32#E6B325#E7B737#E0B027#DAB321

Browse neighbouring colors

← #DEC02B  ·  #DEC02D →

Frequently asked questions

What color is #DEC02C?

#DEC02C is Yellow, a yellow color (RGB 222, 192, 44). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DEC02C?

#DEC02C is RGB 222, 192, 44 — HSL 50°, 73%, 52% — CMYK 0%, 14%, 80%, 13%.

What colors go with #DEC02C?

Its complement is #2B49DE; analogous partners are #DE672B and #A2DE2B. It also appears in 6+ palettes in our collection.

Can I use #DEC02C for text?

Black text on #DEC02C has a contrast ratio of 11.68:1 (passes WCAG AA); white text gives 1.80:1.