#E4D962#E4D962
#E4D962 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.140 H 104.0°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D962 |
|---|---|
| RGB | rgb(228, 217, 98) |
| HSL | hsl(55, 71%, 64%) |
| HSV | hsv(55, 57%, 89%) |
| CMYK | cmyk(0%, 4.8%, 57%, 10.6%) |
| CIE-LAB | lab(85.51, -10.97, 58.77) |
| CIE-LCH | lch(85.51, 59.78, 100.57°) |
| OKLab | oklab(87.13% -0.034 0.1361) |
| OKLCH | oklch(87.13% 0.14 104) |
| XYZ | xyz(59.0143, 67.0036, 21.3773) |
| Luminance | 0.6700 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.35
Sandy
#F1DA7A
ΔE00 4.58
Sand Yellow
#FCE166
ΔE00 4.81
Sandy Yellow
#FDEE73
ΔE00 4.88
Yellowish
#FAEE66
ΔE00 4.93
Khaki (CSS)
#F0E68C
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D962 #626DE4
analogous
#E49862 #E4D962 #AEE462
triadic
#E4D962 #62E4D9 #D962E4
tetradic
#E4D962 #62E498 #626DE4 #E462AE
square
#E4D962 #62E498 #626DE4 #E462AE
split-complementary
#E4D962 #62AEE4 #9862E4
monochromatic
#AEA21E #DBCC2E #E4D962 #EDE696 #F6F2CA
Accessibility & contrast
On white
1.46
#E4D962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.40
#E4D962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D962
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D962 | 1.00 | 1.46 | 14.40 | 14.40 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#EED868
Tritanopia (blue-blind)
#F3CCBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e4d962; /* rgb */ color: rgb(228, 217, 98); /* oklch */ color: oklch(87.1% 0.140 104.0);
Tailwind
colors: {
custom: {
50: '#efe493',
500: '#e4d962',
950: '#000000',
},
}SCSS
$custom: #e4d962; $custom-light: #efe493; $custom-dark: #000000;
JSON
{
"hex": "#e4d962",
"rgb": {
"r": 228,
"g": 217,
"b": 98
},
"hsl": {
"h": 54.923,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.87127,
"c": 0.14024,
"h": 104
},
"luminance": 0.67002
}Semantic roles & 50–950 ramp
primary
#E4D962
secondary
#3B45AF
accent
#23D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F