#E7D166#E7D166
#E7D166 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.130 H 97.9°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D166 |
|---|---|
| RGB | rgb(231, 209, 102) |
| HSL | hsl(50, 73%, 65%) |
| HSV | hsv(50, 56%, 91%) |
| CMYK | cmyk(0%, 9.5%, 55.8%, 9.4%) |
| CIE-LAB | lab(83.73, -5.40, 55.00) |
| CIE-LCH | lch(83.73, 55.26, 95.61°) |
| OKLab | oklab(85.79% -0.0177 0.1284) |
| OKLCH | oklch(85.79% 0.13 97.9) |
| XYZ | xyz(58.1559, 63.5516, 21.7712) |
| Luminance | 0.6355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.75
Light Mustard
#F7D560
ΔE00 3.60
Dull Yellow
#EEDC5B
ΔE00 3.61
Sand (survey)
#E2CA76
ΔE00 3.76
Pale Gold
#FDDE6C
ΔE00 4.09
Maize
#F4D054
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D166 #667CE7
analogous
#E79066 #E7D166 #BDE766
triadic
#E7D166 #66E7D1 #D166E7
tetradic
#E7D166 #66E790 #667CE7 #E766BD
square
#E7D166 #66E790 #667CE7 #E766BD
split-complementary
#E7D166 #66BDE7 #9066E7
monochromatic
#B69C1D #DFC131 #E7D166 #EFE19B #F8F1D0
Accessibility & contrast
On white
1.53
#E7D166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.71
#E7D166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D166
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D166 | 1.00 | 1.53 | 13.71 | 13.71 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC5C
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#F7C4B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e7d166; /* rgb */ color: rgb(231, 209, 102); /* oklch */ color: oklch(85.8% 0.130 97.9);
Tailwind
colors: {
custom: {
50: '#f1de95',
500: '#e7d166',
950: '#000000',
},
}SCSS
$custom: #e7d166; $custom-light: #f1de95; $custom-dark: #000000;
JSON
{
"hex": "#e7d166",
"rgb": {
"r": 231,
"g": 209,
"b": 102
},
"hsl": {
"h": 49.767,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.85793,
"c": 0.12958,
"h": 97.9
},
"luminance": 0.63549
}Semantic roles & 50–950 ramp
primary
#E7D166
secondary
#3B50B6
accent
#32D511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F