#E2C542

A medium, vivid yellow closely aligning with Goldenrod.

About #E2C542

The hex code #E2C542 represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Goldenrod. Its digital footprint relies on 226 parts red, 197 parts green, and 66 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 0% Cyan, 13% Magenta, 71% Yellow, and 11% Black. The HSL representation is 49.1° hue, 73.4% saturation, and 57.3% lightness.

Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#E2C542
RGB226, 197, 66
HSL49.1°, 73.4%, 57.3%
CMYK0%, 13%, 71%, 11%
HSV49.1°, 70.8%, 88.6%
LAB79.9, -3.6, 66.1
XYZ52.3, 56.5, 13.3
Decimal14861634

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.71:1
Text on #FFFFFF
FAIL
12.30:1
Text on #000000
AAA
1.63:1
Text on #F8FAFC
FAIL
10.46:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #E2C542; }
.text-color { color: #E2C542; }
.border-color { border: 2px solid #E2C542; }

Similar Colors

Goldenrod
#DAA520