#E4D662#E4D662
#E4D662 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.137 H 102.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D662 |
|---|---|
| RGB | rgb(228, 214, 98) |
| HSL | hsl(54, 71%, 64%) |
| HSV | hsv(54, 57%, 89%) |
| CMYK | cmyk(0%, 6.1%, 57%, 10.6%) |
| CIE-LAB | lab(84.73, -9.46, 57.89) |
| CIE-LCH | lch(84.73, 58.66, 99.28°) |
| OKLab | oklab(86.51% -0.0297 0.1342) |
| OKLCH | oklch(86.51% 0.137 102.5) |
| XYZ | xyz(58.2481, 65.4711, 21.1218) |
| Luminance | 0.6547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.33
Sandy
#F1DA7A
ΔE00 3.98
Sand Yellow
#FCE166
ΔE00 4.54
Yellow Tan
#FFE36E
ΔE00 5.04
Pale Gold
#FDDE6C
ΔE00 5.18
Sandy Yellow
#FDEE73
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D662 #6270E4
analogous
#E49562 #E4D662 #B1E462
triadic
#E4D662 #62E4D6 #D662E4
tetradic
#E4D662 #62E495 #6270E4 #E462B1
square
#E4D662 #62E495 #6270E4 #E462B1
split-complementary
#E4D662 #62B1E4 #9562E4
monochromatic
#AE9E1E #DBC82E #E4D662 #EDE496 #F6F1CA
Accessibility & contrast
On white
1.49
#E4D662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#E4D662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D662
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D662 | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#ECD668
Tritanopia (blue-blind)
#F4C9BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e4d662; /* rgb */ color: rgb(228, 214, 98); /* oklch */ color: oklch(86.5% 0.137 102.5);
Tailwind
colors: {
custom: {
50: '#efe292',
500: '#e4d662',
950: '#000000',
},
}SCSS
$custom: #e4d662; $custom-light: #efe292; $custom-dark: #000000;
JSON
{
"hex": "#e4d662",
"rgb": {
"r": 228,
"g": 214,
"b": 98
},
"hsl": {
"h": 53.538,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.86507,
"c": 0.13742,
"h": 102.5
},
"luminance": 0.65469
}Semantic roles & 50–950 ramp
primary
#E4D662
secondary
#3B48AF
accent
#27D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F