#E2CC42

A medium, vivid yellow closely aligning with Goldenrod.

About #E2CC42

The precise color #E2CC42 is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Goldenrod. This translates to an RGB value of rgb(226, 204, 66).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 10% magenta inks. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. 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#E2CC42
RGB226, 204, 66
HSL51.8°, 73.4%, 57.3%
CMYK0%, 10%, 71%, 11%
HSV51.8°, 70.8%, 88.6%
LAB81.7, -7.2, 67.9
XYZ53.9, 59.7, 13.8
Decimal14863426

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.62:1
Text on #FFFFFF
FAIL
12.95:1
Text on #000000
AAA
1.55:1
Text on #F8FAFC
FAIL
11.01:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Goldenrod
#DAA520