#E4D956#E4D956
#E4D956 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.150 H 104.5°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D956 |
|---|---|
| RGB | rgb(228, 217, 86) |
| HSL | hsl(55, 72%, 62%) |
| HSV | hsv(55, 62%, 89%) |
| CMYK | cmyk(0%, 4.8%, 62.3%, 10.6%) |
| CIE-LAB | lab(85.40, -11.78, 63.83) |
| CIE-LCH | lch(85.40, 64.91, 100.46°) |
| OKLab | oklab(87.01% -0.0376 0.1453) |
| OKLCH | oklch(87.01% 0.15 104.5) |
| XYZ | xyz(58.4896, 66.7937, 18.6138) |
| Luminance | 0.6679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.02
Piss Yellow
#DDD618
ΔE00 4.21
Yellowish
#FAEE66
ΔE00 4.68
Sand Yellow
#FCE166
ΔE00 4.86
Sandy Yellow
#FDEE73
ΔE00 5.01
Sandy
#F1DA7A
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D956 #5661E4
analogous
#E49256 #E4D956 #A8E456
triadic
#E4D956 #56E4D9 #D956E4
tetradic
#E4D956 #56E492 #5661E4 #E456A8
square
#E4D956 #56E492 #5661E4 #E456A8
split-complementary
#E4D956 #56A8E4 #9256E4
monochromatic
#A59A1A #DACC23 #E4D956 #ECE58B #F5F1C0
Accessibility & contrast
On white
1.46
#E4D956 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.36
#E4D956 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D956
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D956 | 1.00 | 1.46 | 14.36 | 14.36 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD246
Deuteranopia (green-blind)
#EFD85E
Tritanopia (blue-blind)
#F4CBBD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e4d956; /* rgb */ color: rgb(228, 217, 86); /* oklch */ color: oklch(87.0% 0.150 104.5);
Tailwind
colors: {
custom: {
50: '#f0e48b',
500: '#e4d956',
950: '#000000',
},
}SCSS
$custom: #e4d956; $custom-light: #f0e48b; $custom-dark: #000000;
JSON
{
"hex": "#e4d956",
"rgb": {
"r": 228,
"g": 217,
"b": 86
},
"hsl": {
"h": 55.352,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.87008,
"c": 0.15005,
"h": 104.5
},
"luminance": 0.66792
}Semantic roles & 50–950 ramp
primary
#E4D956
secondary
#373FA7
accent
#20D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F