#E8D157#E8D157
#E8D157 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.142 H 98.6°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D157 |
|---|---|
| RGB | rgb(232, 209, 87) |
| HSL | hsl(50, 76%, 63%) |
| HSV | hsv(50, 63%, 91%) |
| CMYK | cmyk(0%, 9.9%, 62.5%, 9%) |
| CIE-LAB | lab(83.68, -6.03, 61.65) |
| CIE-LCH | lch(83.68, 61.95, 95.58°) |
| OKLab | oklab(85.73% -0.0213 0.1407) |
| OKLCH | oklch(85.73% 0.142 98.6) |
| XYZ | xyz(57.8019, 63.4475, 18.2169) |
| Luminance | 0.6344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.78
Light Mustard
#F7D560
ΔE00 3.36
Maize
#F4D054
ΔE00 3.48
Light Gold
#FDDC5C
ΔE00 3.89
Sand Yellow
#FCE166
ΔE00 3.92
Sandy
#F1DA7A
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D157 #576EE8
analogous
#E88957 #E8D157 #B6E857
triadic
#E8D157 #57E8D1 #D157E8
tetradic
#E8D157 #57E889 #576EE8 #E857B6
square
#E8D157 #57E889 #576EE8 #E857B6
split-complementary
#E8D157 #57B6E8 #8957E8
monochromatic
#AD9518 #E1C221 #E8D157 #EFE08D #F7EEC3
Accessibility & contrast
On white
1.53
#E8D157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.69
#E8D157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D157
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D157 | 1.00 | 1.53 | 13.69 | 13.69 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#F9C3B7
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e8d157; /* rgb */ color: rgb(232, 209, 87); /* oklch */ color: oklch(85.7% 0.142 98.6);
Tailwind
colors: {
custom: {
50: '#f3de8b',
500: '#e8d157',
950: '#000000',
},
}SCSS
$custom: #e8d157; $custom-light: #f3de8b; $custom-dark: #000000;
JSON
{
"hex": "#e8d157",
"rgb": {
"r": 232,
"g": 209,
"b": 87
},
"hsl": {
"h": 50.483,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.85725,
"c": 0.1423,
"h": 98.6
},
"luminance": 0.63445
}Semantic roles & 50–950 ramp
primary
#E8D157
secondary
#3548AE
accent
#2ED80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F