#E5D257#E5D257
#E5D257 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.143 H 100.5°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D257 |
|---|---|
| RGB | rgb(229, 210, 87) |
| HSL | hsl(52, 73%, 62%) |
| HSV | hsv(52, 62%, 90%) |
| CMYK | cmyk(0%, 8.3%, 62%, 10.2%) |
| CIE-LAB | lab(83.67, -7.78, 61.57) |
| CIE-LCH | lch(83.67, 62.06, 97.20°) |
| OKLab | oklab(85.66% -0.0262 0.1406) |
| OKLCH | oklch(85.66% 0.143 100.5) |
| XYZ | xyz(57.0823, 63.4417, 18.2537) |
| Luminance | 0.6344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.34
Sand Yellow
#FCE166
ΔE00 4.25
Light Mustard
#F7D560
ΔE00 4.33
Sandy
#F1DA7A
ΔE00 4.35
Maize
#F4D054
ΔE00 4.54
Light Gold
#FDDC5C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D257 #576AE5
analogous
#E58B57 #E5D257 #B1E557
triadic
#E5D257 #57E5D2 #D257E5
tetradic
#E5D257 #57E58B #576AE5 #E557B1
square
#E5D257 #57E58B #576AE5 #E557B1
split-complementary
#E5D257 #57B1E5 #8B57E5
monochromatic
#A8951A #DDC422 #E5D257 #EDE08C #F5EEC1
Accessibility & contrast
On white
1.53
#E5D257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.69
#E5D257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D257
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D257 | 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)
#EAD45E
Tritanopia (blue-blind)
#F5C4B8
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e5d257; /* rgb */ color: rgb(229, 210, 87); /* oklch */ color: oklch(85.7% 0.143 100.5);
Tailwind
colors: {
custom: {
50: '#f0df8b',
500: '#e5d257',
950: '#000000',
},
}SCSS
$custom: #e5d257; $custom-light: #f0df8b; $custom-dark: #000000;
JSON
{
"hex": "#e5d257",
"rgb": {
"r": 229,
"g": 210,
"b": 87
},
"hsl": {
"h": 51.972,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.8566,
"c": 0.14301,
"h": 100.5
},
"luminance": 0.63439
}Semantic roles & 50–950 ramp
primary
#E5D257
secondary
#3746AA
accent
#2BD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F