#E4D562#E4D562
#E4D562 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.3% C 0.137 H 101.9°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D562 |
|---|---|
| RGB | rgb(228, 213, 98) |
| HSL | hsl(53, 71%, 64%) |
| HSV | hsv(53, 57%, 89%) |
| CMYK | cmyk(0%, 6.6%, 57%, 10.6%) |
| CIE-LAB | lab(84.47, -8.96, 57.60) |
| CIE-LCH | lch(84.47, 58.29, 98.84°) |
| OKLab | oklab(86.3% -0.0282 0.1336) |
| OKLCH | oklch(86.3% 0.137 101.9) |
| XYZ | xyz(57.9958, 64.9665, 21.0377) |
| Luminance | 0.6496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.42
Sandy
#F1DA7A
ΔE00 3.81
Sand Yellow
#FCE166
ΔE00 4.50
Yellow Tan
#FFE36E
ΔE00 4.99
Pale Gold
#FDDE6C
ΔE00 5.04
Light Mustard
#F7D560
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D562 #6271E4
analogous
#E49462 #E4D562 #B2E462
triadic
#E4D562 #62E4D5 #D562E4
tetradic
#E4D562 #62E494 #6271E4 #E462B2
square
#E4D562 #62E494 #6271E4 #E462B2
split-complementary
#E4D562 #62B2E4 #9462E4
monochromatic
#AE9D1E #DBC72E #E4D562 #EDE396 #F6F1CA
Accessibility & contrast
On white
1.50
#E4D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.99
#E4D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D562
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D562 | 1.00 | 1.50 | 13.99 | 13.99 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#F4C8BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e4d562; /* rgb */ color: rgb(228, 213, 98); /* oklch */ color: oklch(86.3% 0.137 101.9);
Tailwind
colors: {
custom: {
50: '#efe192',
500: '#e4d562',
950: '#000000',
},
}SCSS
$custom: #e4d562; $custom-light: #efe192; $custom-dark: #000000;
JSON
{
"hex": "#e4d562",
"rgb": {
"r": 228,
"g": 213,
"b": 98
},
"hsl": {
"h": 53.077,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.86301,
"c": 0.1365,
"h": 101.9
},
"luminance": 0.64964
}Semantic roles & 50–950 ramp
primary
#E4D562
secondary
#3B49AF
accent
#29D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F