Maroon Colors  ·  Color Library

Palettes / Colors / #E2CA2A

#E2CA2A — Yellow

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

#E2CA2A 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 #2C44E2; it also sits naturally between #E26F2C and #9FE22C. In the palettes below you can see it working alongside real color combinations from our collection.

#E2CA2A · RGB 226, 202, 42

Download PNG swatch SVG

Color values

HEX#E2CA2A
RGB226, 202, 42
HSL52°, 76%, 53%
HSV52°, 81%, 89%
CMYK0%, 11%, 81%, 11%
XYZ52.90, 58.58, 10.71
Yxy58.58, 0.4330, 0.4794
CIE-Lab81.06, -7.06, 75.02
Hunter Lab76.54, -6.57, 42.69

RGB & CMYK percentages

Red 89% · Green 79% · Blue 16%

Cyan 0% · Magenta 11% · Yellow 81% · Key 11%

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

Previews

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

CSS code for #E2CA2A

.text { color: #E2CA2A; }
.background { background-color: #E2CA2A; }
.border { border: 3px solid #E2CA2A; }
.text-rgb { color: rgb(226, 202, 42); }
.text-hsl { color: hsl(52, 76%, 53%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #E2CA2A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(226, 202, 42, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #E2CA2A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(226, 202, 42, 0.8); }

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

Shades of #E2CA2A

#D7BF1D#C1AB1A#AB9717#948314#827312#6C5F0F#554B0C#3F3809#282406#121002

Tints of #E2CA2A

#E5CE3E#E8D454#EAD966#EDDD78#F0E38F#F2E7A1#F5ECB3#F7F0C5#FAF6DB#FDFAED

Tones of #E2CA2A

#D5C039#C8B746#BBAD54#AFA460#A29A6D#94917A

Color harmonies

Complementary — #2C44E2:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.65:1 Fails
Against black text12.72:1 AAA

Best text color on #E2CA2A: #000000.

Semi-transparent (opacity) text on #E2CA2A

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

How #E2CA2A looks with color blindness

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

Protanopia · #D8D751Deuteranopia · #D9DB5ATritanopia · #E16F76

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

Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Serene Ruby
#E11A45 · #E3AFC9 · #EFECD7 · #EDC92C
Lucky Voyage
#CF6B49 · #EAC083 · #D7CA2D · #B2D254
Smoky Ruby Voyage
#E3CA1D · #C6EB56 · #55A722 · #58E956
Velvet Ruby Zephyr
#A2581F · #D5C828 · #B3E46F · #B2EFAC
Mellow Ruby Monsoon
#141B87 · #4C71E5 · #DED220 · #E8EDAC

Similar colors

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

#E4D329#EDC92C#D7CA2D#E3CA1D#D5C828#DED220#DFBC29#E6CB38#D8C81F#D3C526#D8BD2A#D2CA32

Browse neighbouring colors

← #E2CA29  ·  #E2CA2B →

Frequently asked questions

What color is #E2CA2A?

#E2CA2A is Yellow, a yellow color (RGB 226, 202, 42). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #E2CA2A?

#E2CA2A is RGB 226, 202, 42 — HSL 52°, 76%, 53% — CMYK 0%, 11%, 81%, 11%.

What colors go with #E2CA2A?

Its complement is #2C44E2; analogous partners are #E26F2C and #9FE22C. It also appears in 6+ palettes in our collection.

Can I use #E2CA2A for text?

Black text on #E2CA2A has a contrast ratio of 12.72:1 (passes WCAG AA); white text gives 1.65:1.