#E7E166#E7E166
#E7E166 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.1% C 0.144 H 106.4°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E7E166 |
|---|---|
| RGB | rgb(231, 225, 102) |
| HSL | hsl(57, 73%, 65%) |
| HSV | hsv(57, 56%, 91%) |
| CMYK | cmyk(0%, 2.6%, 55.8%, 9.4%) |
| CIE-LAB | lab(87.87, -13.44, 59.73) |
| CIE-LCH | lch(87.87, 61.22, 102.68°) |
| OKLab | oklab(89.08% -0.0408 0.1385) |
| OKLCH | oklch(89.08% 0.144 106.4) |
| XYZ | xyz(62.2804, 71.8006, 23.1460) |
| Luminance | 0.7180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.26
Yellowish
#FAEE66
ΔE00 3.65
Sandy Yellow
#FDEE73
ΔE00 3.87
Straw
#FCF679
ΔE00 4.51
Khaki (CSS)
#F0E68C
ΔE00 4.83
Sand Yellow
#FCE166
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7E166 #666CE7
analogous
#E7A066 #E7E166 #ADE766
triadic
#E7E166 #66E7E1 #E166E7
tetradic
#E7E166 #66E7A0 #666CE7 #E766AD
square
#E7E166 #66E7A0 #666CE7 #E766AD
split-complementary
#E7E166 #66ADE7 #A066E7
monochromatic
#B6AF1D #DFD731 #E7E166 #EFEB9B #F8F6D0
Accessibility & contrast
On white
1.37
#E7E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.36
#E7E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7E166
15.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7E166 | 1.00 | 1.37 | 15.36 | 15.36 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D959
Deuteranopia (green-blind)
#F5DF6D
Tritanopia (blue-blind)
#F6D4C6
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e7e166; /* rgb */ color: rgb(231, 225, 102); /* oklch */ color: oklch(89.1% 0.144 106.4);
Tailwind
colors: {
custom: {
50: '#f1ea96',
500: '#e7e166',
950: '#000000',
},
}SCSS
$custom: #e7e166; $custom-light: #f1ea96; $custom-dark: #000000;
JSON
{
"hex": "#e7e166",
"rgb": {
"r": 231,
"g": 225,
"b": 102
},
"hsl": {
"h": 57.209,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.8908,
"c": 0.1444,
"h": 106.4
},
"luminance": 0.71799
}Semantic roles & 50–950 ramp
primary
#E7E166
secondary
#3B41B6
accent
#1AD511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F