#E4D258#E4D258
#E4D258 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.142 H 100.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D258 |
|---|---|
| RGB | rgb(228, 210, 88) |
| HSL | hsl(52, 72%, 62%) |
| HSV | hsv(52, 61%, 89%) |
| CMYK | cmyk(0%, 7.9%, 61.4%, 10.6%) |
| CIE-LAB | lab(83.60, -8.13, 61.03) |
| CIE-LCH | lch(83.60, 61.57, 97.59°) |
| OKLab | oklab(85.58% -0.027 0.1396) |
| OKLCH | oklch(85.58% 0.142 100.9) |
| XYZ | xyz(56.8052, 63.2941, 18.4554) |
| Luminance | 0.6329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.39
Sandy
#F1DA7A
ΔE00 4.36
Sand Yellow
#FCE166
ΔE00 4.41
Light Mustard
#F7D560
ΔE00 4.57
Maize
#F4D054
ΔE00 4.81
Light Gold
#FDDC5C
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D258 #586AE4
analogous
#E48C58 #E4D258 #B0E458
triadic
#E4D258 #58E4D2 #D258E4
tetradic
#E4D258 #58E48C #586AE4 #E458B0
square
#E4D258 #58E48C #586AE4 #E458B0
split-complementary
#E4D258 #58B0E4 #8C58E4
monochromatic
#A7951B #DBC423 #E4D258 #EDE08D #F5EEC1
Accessibility & contrast
On white
1.54
#E4D258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.66
#E4D258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D258
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D258 | 1.00 | 1.54 | 13.66 | 13.66 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC4A
Deuteranopia (green-blind)
#E9D45E
Tritanopia (blue-blind)
#F4C4B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e4d258; /* rgb */ color: rgb(228, 210, 88); /* oklch */ color: oklch(85.6% 0.142 100.9);
Tailwind
colors: {
custom: {
50: '#f0df8c',
500: '#e4d258',
950: '#000000',
},
}SCSS
$custom: #e4d258; $custom-light: #f0df8c; $custom-dark: #000000;
JSON
{
"hex": "#e4d258",
"rgb": {
"r": 228,
"g": 210,
"b": 88
},
"hsl": {
"h": 52.286,
"s": 72.165,
"l": 61.961
},
"oklch": {
"l": 0.85581,
"c": 0.1422,
"h": 100.9
},
"luminance": 0.63292
}Semantic roles & 50–950 ramp
primary
#E4D258
secondary
#3746A9
accent
#2AD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F