#E2CD7F color
The hex color #E2CD7F is a light, moderate yellow.
In the RGB color model it is made of 88.6% red, 80.4% green and 49.8% blue (226, 205, 127).
Its hue angle is 47°, with 63% saturation and 69% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 44% yellow and 11% black.
The closest named color is Ancient Treasure (#E7D082), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 13.27:1).
#E2CD7F color codes
| HEX | #E2CD7F | |
|---|---|---|
| RGB | rgb(226, 205, 127) | |
| RGB percent | rgb(88.6%, 80.4%, 49.8%) | |
| HSL | hsl(47, 63%, 69%) | |
| HSV / HSB | hsv(47, 44%, 89%) | |
| CMYK | cmyk(0%, 9%, 44%, 11%) | |
| CIE LAB | lab(82.57, -3.18, 41.4) | |
| CIE LCH | lch(82.57, 41.52, 94.39) | |
| CIE XYZ | xyz(57.028, 61.366, 28.915) | |
| Decimal | 14863743 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #E2CD7F, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #E2CD7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.27:1 | Pass | Pass | Pass |
| Sample text | 1.58:1 | Fail | Fail | Fail |
| #E2CD7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.27:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #E2CD7F looks to people with the most common types of color vision deficiency.
#dcca79Protanopia
no red cones#e1d082Deuteranopia
no green cones#f0c2baTritanopia
no blue cones#cdcdcdAchromatopsia
no color vision
CSS examples
.background { background-color: #e2cd7f; }
.text { color: #e2cd7f; }
.border { border: 2px solid #e2cd7f; }
.transparent { background-color: rgb(226 205 127 / 50%); }
.gradient { background: linear-gradient(to right, #e2cd7f, #c6e27f); }
Similar colors
#e7d082Ancient Treasure#e8d284Paved With Gold#e0c778Protoss#e2ca73Dijon Mustard#ddcc88Master Key#e2c779Waffle Cone#ebcf7dChoux à la Crème#eed484Kaiser Cheese
Closest common color name: Buff.
Questions
- What color is #E2CD7F?
- #E2CD7F is a light, moderate yellow, closest to the named color Ancient Treasure. It belongs to the yellow family of colors.
- What is the RGB value of #E2CD7F?
- The RGB value is 226, 205, 127: 226 red, 205 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #E2CD7F?
- The complementary color is #7F94E2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #E2CD7F?
- Black text. Black text has a contrast ratio of 13.27:1 and white text 1.58:1. WCAG asks for at least 4.5:1 for normal text.