#E5D157#E5D157
#E5D157 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.5% C 0.142 H 100.0°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D157 |
|---|---|
| RGB | rgb(229, 209, 87) |
| HSL | hsl(52, 73%, 62%) |
| HSV | hsv(52, 62%, 90%) |
| CMYK | cmyk(0%, 8.7%, 62%, 10.2%) |
| CIE-LAB | lab(83.42, -7.27, 61.29) |
| CIE-LCH | lch(83.42, 61.72, 96.77°) |
| OKLab | oklab(85.46% -0.0247 0.14) |
| OKLCH | oklch(85.46% 0.142 100) |
| XYZ | xyz(56.8362, 62.9495, 18.1716) |
| Luminance | 0.6295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.60
Light Mustard
#F7D560
ΔE00 4.13
Maize
#F4D054
ΔE00 4.29
Sandy
#F1DA7A
ΔE00 4.29
Sand Yellow
#FCE166
ΔE00 4.30
Light Gold
#FDDC5C
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D157 #576BE5
analogous
#E58A57 #E5D157 #B2E557
triadic
#E5D157 #57E5D1 #D157E5
tetradic
#E5D157 #57E58A #576BE5 #E557B2
square
#E5D157 #57E58A #576BE5 #E557B2
split-complementary
#E5D157 #57B2E5 #8A57E5
monochromatic
#A8941A #DDC222 #E5D157 #EDE08C #F5EEC1
Accessibility & contrast
On white
1.55
#E5D157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.59
#E5D157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D157
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D157 | 1.00 | 1.55 | 13.59 | 13.59 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#F6C3B7
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e5d157; /* rgb */ color: rgb(229, 209, 87); /* oklch */ color: oklch(85.5% 0.142 100.0);
Tailwind
colors: {
custom: {
50: '#f0de8b',
500: '#e5d157',
950: '#000000',
},
}SCSS
$custom: #e5d157; $custom-light: #f0de8b; $custom-dark: #000000;
JSON
{
"hex": "#e5d157",
"rgb": {
"r": 229,
"g": 209,
"b": 87
},
"hsl": {
"h": 51.549,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.85455,
"c": 0.14216,
"h": 100
},
"luminance": 0.62947
}Semantic roles & 50–950 ramp
primary
#E5D157
secondary
#3747AA
accent
#2CD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F