#E8D786#E8D786
#E8D786 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.103 H 97.8°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D786 |
|---|---|
| RGB | rgb(232, 215, 134) |
| HSL | hsl(50, 68%, 72%) |
| HSV | hsv(50, 42%, 91%) |
| CMYK | cmyk(0%, 7.3%, 42.2%, 9%) |
| CIE-LAB | lab(85.75, -5.20, 42.02) |
| CIE-LCH | lch(85.75, 42.34, 97.05°) |
| OKLab | oklab(87.53% -0.014 0.1022) |
| OKLCH | oklch(87.53% 0.103 97.8) |
| XYZ | xyz(61.8837, 67.4800, 32.3148) |
| Luminance | 0.6748 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.88
Sand (survey)
#E2CA76
ΔE00 3.50
Khaki (CSS)
#F0E68C
ΔE00 3.87
Wheat (survey)
#FBDD7E
ΔE00 4.38
Vanilla
#F3E5AB
ΔE00 5.59
Beige (survey)
#E6DAA6
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D786 #8697E8
analogous
#E8A686 #E8D786 #C8E886
triadic
#E8D786 #86E8D7 #D786E8
tetradic
#E8D786 #86E8A6 #8697E8 #E886C8
square
#E8D786 #86E8A6 #8697E8 #E886C8
split-complementary
#E8D786 #86C8E8 #A686E8
monochromatic
#CDB027 #DEC653 #E8D786 #F2E8B9 #FAF7E5
Accessibility & contrast
On white
1.45
#E8D786 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.50
#E8D786 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D786
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D786 | 1.00 | 1.45 | 14.50 | 14.50 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D380
Deuteranopia (green-blind)
#EBD989
Tritanopia (blue-blind)
#F6CCC3
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e8d786; /* rgb */ color: rgb(232, 215, 134); /* oklch */ color: oklch(87.5% 0.103 97.8);
Tailwind
colors: {
custom: {
50: '#f1e3aa',
500: '#e8d786',
950: '#000000',
},
}SCSS
$custom: #e8d786; $custom-light: #f1e3aa; $custom-dark: #000000;
JSON
{
"hex": "#e8d786",
"rgb": {
"r": 232,
"g": 215,
"b": 134
},
"hsl": {
"h": 49.592,
"s": 68.056,
"l": 71.765
},
"oklch": {
"l": 0.87534,
"c": 0.10313,
"h": 97.8
},
"luminance": 0.67478
}Semantic roles & 50–950 ramp
primary
#E8D786
secondary
#5164C1
accent
#36D016
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481