#E2CC1D
A medium, vivid yellow closely aligning with Gold.
About #E2CC1D
When working with digital screens, the color #E2CC1D is rendered by mixing light. It is closely associated with the named CSS color Gold. To achieve this exact tint on a monitor, you would use an RGB mix of 226, 204, and 29.
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. The HSL representation is 53.3° hue, 77.3% saturation, and 50.0% 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. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#E2CC1D
RGB226, 204, 29
HSL53.3°, 77.3%, 50.0%
CMYK0%, 10%, 87%, 11%
HSV53.3°, 87.2%, 88.6%
LAB81.5, -8.4, 78.4
XYZ53.2, 59.4, 9.8
Decimal14863389
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.63:1
Text on #FFFFFF
FAIL
12.89:1
Text on #000000
AAA
1.56:1
Text on #F8FAFC
FAIL
10.96:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #E2CC1D;
}
.text-color {
color: #E2CC1D;
}
.border-color {
border: 2px solid #E2CC1D;
}