#E5D166#E5D166
#E5D166 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.6% C 0.129 H 98.9°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D166 |
|---|---|
| RGB | rgb(229, 209, 102) |
| HSL | hsl(51, 71%, 65%) |
| HSV | hsv(51, 55%, 90%) |
| CMYK | cmyk(0%, 8.7%, 55.5%, 10.2%) |
| CIE-LAB | lab(83.56, -6.22, 54.76) |
| CIE-LCH | lch(83.56, 55.11, 96.48°) |
| OKLab | oklab(85.61% -0.02 0.1279) |
| OKLCH | oklch(85.61% 0.129 98.9) |
| XYZ | xyz(57.5139, 63.2206, 21.7411) |
| Luminance | 0.6322 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.95
Dull Yellow
#EEDC5B
ΔE00 3.52
Sand (survey)
#E2CA76
ΔE00 3.90
Light Mustard
#F7D560
ΔE00 4.11
Pale Gold
#FDDE6C
ΔE00 4.49
Sand Yellow
#FCE166
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D166 #667AE5
analogous
#E59166 #E5D166 #BAE566
triadic
#E5D166 #66E5D1 #D166E5
tetradic
#E5D166 #66E591 #667AE5 #E566BA
square
#E5D166 #66E591 #667AE5 #E566BA
split-complementary
#E5D166 #66BAE5 #9166E5
monochromatic
#B29B1E #DCC132 #E5D166 #EEE19A #F7F0CF
Accessibility & contrast
On white
1.54
#E5D166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.64
#E5D166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D166
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D166 | 1.00 | 1.54 | 13.64 | 13.64 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E8D36B
Tritanopia (blue-blind)
#F5C4B9
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e5d166; /* rgb */ color: rgb(229, 209, 102); /* oklch */ color: oklch(85.6% 0.129 98.9);
Tailwind
colors: {
custom: {
50: '#f0de95',
500: '#e5d166',
950: '#000000',
},
}SCSS
$custom: #e5d166; $custom-light: #f0de95; $custom-dark: #000000;
JSON
{
"hex": "#e5d166",
"rgb": {
"r": 229,
"g": 209,
"b": 102
},
"hsl": {
"h": 50.551,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.85614,
"c": 0.12942,
"h": 98.9
},
"luminance": 0.63218
}Semantic roles & 50–950 ramp
primary
#E5D166
secondary
#3C4FB3
accent
#31D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F