#E2CA7E#E2CA7E
#E2CA7E is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.3% C 0.099 H 92.5°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E2CA7E |
|---|---|
| RGB | rgb(226, 202, 126) |
| HSL | hsl(46, 63%, 69%) |
| HSV | hsv(46, 44%, 89%) |
| CMYK | cmyk(0%, 10.6%, 44.2%, 11.4%) |
| CIE-LAB | lab(81.79, -1.73, 40.92) |
| CIE-LCH | lch(81.79, 40.96, 92.42°) |
| OKLab | oklab(84.25% -0.0043 0.0993) |
| OKLCH | oklch(84.25% 0.099 92.5) |
| XYZ | xyz(56.2520, 59.9184, 28.3369) |
| Luminance | 0.5992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.39
Sandy
#F1DA7A
ΔE00 4.80
Wheat (survey)
#FBDD7E
ΔE00 5.50
Tan (survey)
#D1B26F
ΔE00 6.47
Light Mustard
#F7D560
ΔE00 6.72
Beige (survey)
#E6DAA6
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2CA7E #7E96E2
analogous
#E2987E #E2CA7E #C8E27E
triadic
#E2CA7E #7EE2CA #CA7EE2
tetradic
#E2CA7E #7EE298 #7E96E2 #E27EC8
square
#E2CA7E #7EE298 #7E96E2 #E27EC8
split-complementary
#E2CA7E #7EC8E2 #987EE2
monochromatic
#BB992A #D7B54C #E2CA7E #EDDFB0 #F8F3E2
Accessibility & contrast
On white
1.62
#E2CA7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.98
#E2CA7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2CA7E
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2CA7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2CA7E | 1.00 | 1.62 | 12.98 | 12.98 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C778
Deuteranopia (green-blind)
#DFCE81
Tritanopia (blue-blind)
#F0BFB7
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #e2ca7e; /* rgb */ color: rgb(226, 202, 126); /* oklch */ color: oklch(84.3% 0.099 92.5);
Tailwind
colors: {
custom: {
50: '#eddaa4',
500: '#e2ca7e',
950: '#000000',
},
}SCSS
$custom: #e2ca7e; $custom-light: #eddaa4; $custom-dark: #000000;
JSON
{
"hex": "#e2ca7e",
"rgb": {
"r": 226,
"g": 202,
"b": 126
},
"hsl": {
"h": 45.6,
"s": 63.291,
"l": 69.02
},
"oklch": {
"l": 0.84251,
"c": 0.0994,
"h": 92.5
},
"luminance": 0.59916
}Semantic roles & 50–950 ramp
primary
#E2CA7E
secondary
#4B65B9
accent
#45CB1A
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380