#E7D786#E7D786
#E7D786 is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.103 H 98.4°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D786 |
|---|---|
| RGB | rgb(231, 215, 134) |
| HSL | hsl(50, 67%, 72%) |
| HSV | hsv(50, 42%, 91%) |
| CMYK | cmyk(0%, 6.9%, 42%, 9.4%) |
| CIE-LAB | lab(85.66, -5.59, 41.89) |
| CIE-LCH | lch(85.66, 42.27, 97.61°) |
| OKLab | oklab(87.45% -0.0151 0.1019) |
| OKLCH | oklch(87.45% 0.103 98.4) |
| XYZ | xyz(61.5599, 67.3130, 32.2996) |
| Luminance | 0.6731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.06
Sand (survey)
#E2CA76
ΔE00 3.65
Khaki (CSS)
#F0E68C
ΔE00 3.76
Wheat (survey)
#FBDD7E
ΔE00 4.63
Vanilla
#F3E5AB
ΔE00 5.60
Beige (survey)
#E6DAA6
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D786 #8696E7
analogous
#E7A786 #E7D786 #C7E786
triadic
#E7D786 #86E7D7 #D786E7
tetradic
#E7D786 #86E7A7 #8696E7 #E786C7
square
#E7D786 #86E7A7 #8696E7 #E786C7
split-complementary
#E7D786 #86C7E7 #A786E7
monochromatic
#CAB028 #DDC653 #E7D786 #F1E8B9 #FAF7E5
Accessibility & contrast
On white
1.45
#E7D786 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.46
#E7D786 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D786
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D786 | 1.00 | 1.45 | 14.46 | 14.46 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D380
Deuteranopia (green-blind)
#EAD989
Tritanopia (blue-blind)
#F4CCC3
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e7d786; /* rgb */ color: rgb(231, 215, 134); /* oklch */ color: oklch(87.4% 0.103 98.4);
Tailwind
colors: {
custom: {
50: '#f0e3aa',
500: '#e7d786',
950: '#000000',
},
}SCSS
$custom: #e7d786; $custom-light: #f0e3aa; $custom-dark: #000000;
JSON
{
"hex": "#e7d786",
"rgb": {
"r": 231,
"g": 215,
"b": 134
},
"hsl": {
"h": 50.103,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.87447,
"c": 0.10301,
"h": 98.4
},
"luminance": 0.67311
}Semantic roles & 50–950 ramp
primary
#E7D786
secondary
#5163C0
accent
#35CF17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481