#E7D266#E7D266
#E7D266 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.130 H 98.5°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D266 |
|---|---|
| RGB | rgb(231, 210, 102) |
| HSL | hsl(50, 73%, 65%) |
| HSV | hsv(50, 56%, 91%) |
| CMYK | cmyk(0%, 9.1%, 55.8%, 9.4%) |
| CIE-LAB | lab(83.99, -5.91, 55.30) |
| CIE-LCH | lch(83.99, 55.61, 96.10°) |
| OKLab | oklab(86% -0.0192 0.129) |
| OKLCH | oklch(86% 0.13 98.5) |
| XYZ | xyz(58.4020, 64.0438, 21.8532) |
| Luminance | 0.6404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.74
Dull Yellow
#EEDC5B
ΔE00 3.32
Light Mustard
#F7D560
ΔE00 3.75
Sand (survey)
#E2CA76
ΔE00 4.02
Pale Gold
#FDDE6C
ΔE00 4.10
Sand Yellow
#FCE166
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D266 #667BE7
analogous
#E79266 #E7D266 #BBE766
triadic
#E7D266 #66E7D2 #D266E7
tetradic
#E7D266 #66E792 #667BE7 #E766BB
square
#E7D266 #66E792 #667BE7 #E766BB
split-complementary
#E7D266 #66BBE7 #9266E7
monochromatic
#B69D1D #DFC231 #E7D266 #EFE29B #F8F1D0
Accessibility & contrast
On white
1.52
#E7D266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.81
#E7D266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D266
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D266 | 1.00 | 1.52 | 13.81 | 13.81 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD5B
Deuteranopia (green-blind)
#E9D56B
Tritanopia (blue-blind)
#F7C5BA
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e7d266; /* rgb */ color: rgb(231, 210, 102); /* oklch */ color: oklch(86.0% 0.130 98.5);
Tailwind
colors: {
custom: {
50: '#f1df95',
500: '#e7d266',
950: '#000000',
},
}SCSS
$custom: #e7d266; $custom-light: #f1df95; $custom-dark: #000000;
JSON
{
"hex": "#e7d266",
"rgb": {
"r": 231,
"g": 210,
"b": 102
},
"hsl": {
"h": 50.233,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.85996,
"c": 0.13042,
"h": 98.5
},
"luminance": 0.64041
}Semantic roles & 50–950 ramp
primary
#E7D266
secondary
#3B4FB6
accent
#31D511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F