#E2CA7D#E2CA7D
#E2CA7D is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.2% C 0.100 H 92.7°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E2CA7D |
|---|---|
| RGB | rgb(226, 202, 125) |
| HSL | hsl(46, 64%, 69%) |
| HSV | hsv(46, 45%, 89%) |
| CMYK | cmyk(0%, 10.6%, 44.7%, 11.4%) |
| CIE-LAB | lab(81.78, -1.83, 41.40) |
| CIE-LCH | lch(81.78, 41.45, 92.53°) |
| OKLab | oklab(84.24% -0.0047 0.1004) |
| OKLCH | oklch(84.24% 0.1 92.7) |
| XYZ | xyz(56.1878, 59.8927, 27.9988) |
| Luminance | 0.5989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.21
Sandy
#F1DA7A
ΔE00 4.69
Wheat (survey)
#FBDD7E
ΔE00 5.42
Tan (survey)
#D1B26F
ΔE00 6.52
Light Mustard
#F7D560
ΔE00 6.58
Beige (survey)
#E6DAA6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2CA7D #7D95E2
analogous
#E2987D #E2CA7D #C8E27D
triadic
#E2CA7D #7DE2CA #CA7DE2
tetradic
#E2CA7D #7DE298 #7D95E2 #E27DC8
square
#E2CA7D #7DE298 #7D95E2 #E27DC8
split-complementary
#E2CA7D #7DC8E2 #987DE2
monochromatic
#BB982A #D7B64B #E2CA7D #EDDEAF #F8F3E1
Accessibility & contrast
On white
1.62
#E2CA7D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.98
#E2CA7D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2CA7D
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2CA7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2CA7D | 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)
#D9C777
Deuteranopia (green-blind)
#DFCE80
Tritanopia (blue-blind)
#F0BFB7
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #e2ca7d; /* rgb */ color: rgb(226, 202, 125); /* oklch */ color: oklch(84.2% 0.100 92.7);
Tailwind
colors: {
custom: {
50: '#eddaa4',
500: '#e2ca7d',
950: '#000000',
},
}SCSS
$custom: #e2ca7d; $custom-light: #eddaa4; $custom-dark: #000000;
JSON
{
"hex": "#e2ca7d",
"rgb": {
"r": 226,
"g": 202,
"b": 125
},
"hsl": {
"h": 45.743,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.84236,
"c": 0.10046,
"h": 92.7
},
"luminance": 0.5989
}Semantic roles & 50–950 ramp
primary
#E2CA7D
secondary
#4A64B9
accent
#44CB1A
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380