#E7D686#E7D686
#E7D686 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.102 H 97.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D686 |
|---|---|
| RGB | rgb(231, 214, 134) |
| HSL | hsl(49, 67%, 72%) |
| HSV | hsv(49, 42%, 91%) |
| CMYK | cmyk(0%, 7.4%, 42%, 9.4%) |
| CIE-LAB | lab(85.41, -5.08, 41.57) |
| CIE-LCH | lch(85.41, 41.88, 96.97°) |
| OKLab | oklab(87.24% -0.0136 0.1012) |
| OKLCH | oklch(87.24% 0.102 97.7) |
| XYZ | xyz(61.3061, 66.8053, 32.2150) |
| Luminance | 0.6680 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.08
Sand (survey)
#E2CA76
ΔE00 3.35
Khaki (CSS)
#F0E68C
ΔE00 4.11
Wheat (survey)
#FBDD7E
ΔE00 4.54
Vanilla
#F3E5AB
ΔE00 5.59
Beige (survey)
#E6DAA6
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D686 #8697E7
analogous
#E7A686 #E7D686 #C8E786
triadic
#E7D686 #86E7D6 #D686E7
tetradic
#E7D686 #86E7A6 #8697E7 #E786C8
square
#E7D686 #86E7A6 #8697E7 #E786C8
split-complementary
#E7D686 #86C8E7 #A686E7
monochromatic
#CAAE28 #DDC553 #E7D686 #F1E7B9 #FAF6E5
Accessibility & contrast
On white
1.46
#E7D686 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.36
#E7D686 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D686
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D686 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D686 | 1.00 | 1.46 | 14.36 | 14.36 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D280
Deuteranopia (green-blind)
#E9D889
Tritanopia (blue-blind)
#F5CBC2
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d686; /* rgb */ color: rgb(231, 214, 134); /* oklch */ color: oklch(87.2% 0.102 97.7);
Tailwind
colors: {
custom: {
50: '#f0e2aa',
500: '#e7d686',
950: '#000000',
},
}SCSS
$custom: #e7d686; $custom-light: #f0e2aa; $custom-dark: #000000;
JSON
{
"hex": "#e7d686",
"rgb": {
"r": 231,
"g": 214,
"b": 134
},
"hsl": {
"h": 49.485,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.87245,
"c": 0.10208,
"h": 97.7
},
"luminance": 0.66803
}Semantic roles & 50–950 ramp
primary
#E7D686
secondary
#5165C0
accent
#37CF17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481