#E5D158#E5D158
#E5D158 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.5% C 0.141 H 99.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D158 |
|---|---|
| RGB | rgb(229, 209, 88) |
| HSL | hsl(51, 73%, 62%) |
| HSV | hsv(51, 62%, 90%) |
| CMYK | cmyk(0%, 8.7%, 61.6%, 10.2%) |
| CIE-LAB | lab(83.42, -7.21, 60.87) |
| CIE-LCH | lch(83.42, 61.30, 96.75°) |
| OKLab | oklab(85.47% -0.0244 0.1393) |
| OKLCH | oklch(85.47% 0.141 99.9) |
| XYZ | xyz(56.8773, 62.9659, 18.3883) |
| Luminance | 0.6296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.63
Light Mustard
#F7D560
ΔE00 4.11
Sandy
#F1DA7A
ΔE00 4.20
Maize
#F4D054
ΔE00 4.29
Sand Yellow
#FCE166
ΔE00 4.30
Light Gold
#FDDC5C
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D158 #586CE5
analogous
#E58A58 #E5D158 #B3E558
triadic
#E5D158 #58E5D1 #D158E5
tetradic
#E5D158 #58E58A #586CE5 #E558B3
square
#E5D158 #58E58A #586CE5 #E558B3
split-complementary
#E5D158 #58B3E5 #8A58E5
monochromatic
#A8941A #DDC223 #E5D158 #EDE08D #F5EEC2
Accessibility & contrast
On white
1.54
#E5D158 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.59
#E5D158 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D158
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D158 | 1.00 | 1.54 | 13.59 | 13.59 |
| #FFFFFF | 1.54 | 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)
#E3CC4A
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#F6C3B7
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e5d158; /* rgb */ color: rgb(229, 209, 88); /* oklch */ color: oklch(85.5% 0.141 99.9);
Tailwind
colors: {
custom: {
50: '#f0de8c',
500: '#e5d158',
950: '#000000',
},
}SCSS
$custom: #e5d158; $custom-light: #f0de8c; $custom-dark: #000000;
JSON
{
"hex": "#e5d158",
"rgb": {
"r": 229,
"g": 209,
"b": 88
},
"hsl": {
"h": 51.489,
"s": 73.057,
"l": 62.157
},
"oklch": {
"l": 0.85465,
"c": 0.14138,
"h": 99.9
},
"luminance": 0.62964
}Semantic roles & 50–950 ramp
primary
#E5D158
secondary
#3747AA
accent
#2CD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F