#E2CD7D#E2CD7D
#E2CD7D is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.103 H 95.1°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E2CD7D |
|---|---|
| RGB | rgb(226, 205, 125) |
| HSL | hsl(48, 64%, 69%) |
| HSV | hsv(48, 45%, 89%) |
| CMYK | cmyk(0%, 9.3%, 44.7%, 11.4%) |
| CIE-LAB | lab(82.55, -3.38, 42.37) |
| CIE-LCH | lch(82.55, 42.50, 94.56°) |
| OKLab | oklab(84.84% -0.0092 0.1025) |
| OKLCH | oklch(84.84% 0.103 95.1) |
| XYZ | xyz(56.8986, 61.3142, 28.2357) |
| Luminance | 0.6131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.22
Sandy
#F1DA7A
ΔE00 3.87
Wheat (survey)
#FBDD7E
ΔE00 5.04
Khaki (CSS)
#F0E68C
ΔE00 6.29
Light Mustard
#F7D560
ΔE00 6.31
Pale Gold
#FDDE6C
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2CD7D #7D92E2
analogous
#E29B7D #E2CD7D #C5E27D
triadic
#E2CD7D #7DE2CD #CD7DE2
tetradic
#E2CD7D #7DE29B #7D92E2 #E27DC5
square
#E2CD7D #7DE29B #7D92E2 #E27DC5
split-complementary
#E2CD7D #7DC5E2 #9B7DE2
monochromatic
#BB9D2A #D7BA4B #E2CD7D #EDE0AF #F8F3E1
Accessibility & contrast
On white
1.58
#E2CD7D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.26
#E2CD7D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2CD7D
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2CD7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2CD7D | 1.00 | 1.58 | 13.26 | 13.26 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCCA77
Deuteranopia (green-blind)
#E2D080
Tritanopia (blue-blind)
#F0C2B9
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e2cd7d; /* rgb */ color: rgb(226, 205, 125); /* oklch */ color: oklch(84.8% 0.103 95.1);
Tailwind
colors: {
custom: {
50: '#eddca4',
500: '#e2cd7d',
950: '#000000',
},
}SCSS
$custom: #e2cd7d; $custom-light: #eddca4; $custom-dark: #000000;
JSON
{
"hex": "#e2cd7d",
"rgb": {
"r": 226,
"g": 205,
"b": 125
},
"hsl": {
"h": 47.525,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.84842,
"c": 0.10294,
"h": 95.1
},
"luminance": 0.61312
}Semantic roles & 50–950 ramp
primary
#E2CD7D
secondary
#4A61B9
accent
#3FCB1A
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480