#E2D166#E2D166
#E2D166 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.129 H 100.4°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D166 |
|---|---|
| RGB | rgb(226, 209, 102) |
| HSL | hsl(52, 68%, 64%) |
| HSV | hsv(52, 55%, 89%) |
| CMYK | cmyk(0%, 7.5%, 54.9%, 11.4%) |
| CIE-LAB | lab(83.30, -7.45, 54.39) |
| CIE-LCH | lch(83.30, 54.90, 97.80°) |
| OKLab | oklab(85.35% -0.0233 0.1271) |
| OKLCH | oklch(85.35% 0.129 100.4) |
| XYZ | xyz(56.5647, 62.7312, 21.6966) |
| Luminance | 0.6273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.38
Dull Yellow
#EEDC5B
ΔE00 3.56
Sand (survey)
#E2CA76
ΔE00 4.23
Light Mustard
#F7D560
ΔE00 4.91
Sand Yellow
#FCE166
ΔE00 5.05
Pale Gold
#FDDE6C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D166 #6677E2
analogous
#E29366 #E2D166 #B5E266
triadic
#E2D166 #66E2D1 #D166E2
tetradic
#E2D166 #66E293 #6677E2 #E266B5
square
#E2D166 #66E293 #6677E2 #E266B5
split-complementary
#E2D166 #66B5E2 #9366E2
monochromatic
#AD9A21 #D8C233 #E2D166 #ECE099 #F6F0CD
Accessibility & contrast
On white
1.55
#E2D166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.55
#E2D166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D166
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D166 | 1.00 | 1.55 | 13.55 | 13.55 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E7D36B
Tritanopia (blue-blind)
#F1C4B9
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d166; /* rgb */ color: rgb(226, 209, 102); /* oklch */ color: oklch(85.3% 0.129 100.4);
Tailwind
colors: {
custom: {
50: '#eede95',
500: '#e2d166',
950: '#000000',
},
}SCSS
$custom: #e2d166; $custom-light: #eede95; $custom-dark: #000000;
JSON
{
"hex": "#e2d166",
"rgb": {
"r": 226,
"g": 209,
"b": 102
},
"hsl": {
"h": 51.774,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.85349,
"c": 0.12927,
"h": 100.4
},
"luminance": 0.62729
}Semantic roles & 50–950 ramp
primary
#E2D166
secondary
#3E4DAE
accent
#2FD015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F