#E5D266#E5D266
#E5D266 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.8% C 0.130 H 99.5°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D266 |
|---|---|
| RGB | rgb(229, 210, 102) |
| HSL | hsl(51, 71%, 65%) |
| HSV | hsv(51, 55%, 90%) |
| CMYK | cmyk(0%, 8.3%, 55.5%, 10.2%) |
| CIE-LAB | lab(83.82, -6.73, 55.05) |
| CIE-LCH | lch(83.82, 55.46, 96.97°) |
| OKLab | oklab(85.82% -0.0214 0.1285) |
| OKLCH | oklch(85.82% 0.13 99.5) |
| XYZ | xyz(57.7600, 63.7128, 21.8231) |
| Luminance | 0.6371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.98
Dull Yellow
#EEDC5B
ΔE00 3.27
Sand (survey)
#E2CA76
ΔE00 4.18
Light Mustard
#F7D560
ΔE00 4.28
Sand Yellow
#FCE166
ΔE00 4.50
Pale Gold
#FDDE6C
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D266 #6679E5
analogous
#E59366 #E5D266 #B8E566
triadic
#E5D266 #66E5D2 #D266E5
tetradic
#E5D266 #66E593 #6679E5 #E566B8
square
#E5D266 #66E593 #6679E5 #E566B8
split-complementary
#E5D266 #66B8E5 #9366E5
monochromatic
#B29C1E #DCC332 #E5D266 #EEE19A #F7F1CF
Accessibility & contrast
On white
1.53
#E5D266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.74
#E5D266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D266
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D266 | 1.00 | 1.53 | 13.74 | 13.74 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CD5B
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#F5C5BA
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e5d266; /* rgb */ color: rgb(229, 210, 102); /* oklch */ color: oklch(85.8% 0.130 99.5);
Tailwind
colors: {
custom: {
50: '#f0df95',
500: '#e5d266',
950: '#000000',
},
}SCSS
$custom: #e5d266; $custom-light: #f0df95; $custom-dark: #000000;
JSON
{
"hex": "#e5d266",
"rgb": {
"r": 229,
"g": 210,
"b": 102
},
"hsl": {
"h": 51.024,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.85818,
"c": 0.13029,
"h": 99.5
},
"luminance": 0.63711
}Semantic roles & 50–950 ramp
primary
#E5D266
secondary
#3C4EB3
accent
#2FD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F