#E2CC7C
A light, moderate yellow closely aligning with Khaki.
About #E2CC7C
The hex code #E2CC7C represents a beautifully specific shade of yellow. Designers often compare it to the standard color Khaki. This translates to an RGB value of rgb(226, 204, 124).
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 47.1° hue, 63.7% saturation, and 68.6% lightness.
Contrast ratios determine whether this color is safe for typography. Because it is a light color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#E2CC7C
RGB226, 204, 124
HSL47.1°, 63.7%, 68.6%
CMYK0%, 10%, 45%, 11%
HSV47.1°, 45.1%, 88.6%
LAB82.3, -3.0, 42.5
XYZ56.6, 60.8, 27.8
Decimal14863484
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.60:1
Text on #FFFFFF
FAIL
13.16:1
Text on #000000
AAA
1.52:1
Text on #F8FAFC
FAIL
11.19:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #E2CC7C;
}
.text-color {
color: #E2CC7C;
}
.border-color {
border: 2px solid #E2CC7C;
}