#E4D362#E4D362
#E4D362 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.135 H 100.8°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D362 |
|---|---|
| RGB | rgb(228, 211, 98) |
| HSL | hsl(52, 71%, 64%) |
| HSV | hsv(52, 57%, 89%) |
| CMYK | cmyk(0%, 7.5%, 57%, 10.6%) |
| CIE-LAB | lab(83.95, -7.95, 57.01) |
| CIE-LCH | lch(83.95, 57.56, 97.94°) |
| OKLab | oklab(85.89% -0.0253 0.1323) |
| OKLCH | oklch(85.89% 0.135 100.8) |
| XYZ | xyz(57.4958, 63.9666, 20.8711) |
| Luminance | 0.6396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.73
Sandy
#F1DA7A
ΔE00 3.55
Sand Yellow
#FCE166
ΔE00 4.49
Light Mustard
#F7D560
ΔE00 4.70
Pale Gold
#FDDE6C
ΔE00 4.81
Yellow Tan
#FFE36E
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D362 #6273E4
analogous
#E49262 #E4D362 #B4E462
triadic
#E4D362 #62E4D3 #D362E4
tetradic
#E4D362 #62E492 #6273E4 #E462B4
square
#E4D362 #62E492 #6273E4 #E462B4
split-complementary
#E4D362 #62B4E4 #9262E4
monochromatic
#AE9B1E #DBC42E #E4D362 #EDE296 #F6F0CA
Accessibility & contrast
On white
1.52
#E4D362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#E4D362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D362
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D362 | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E9D468
Tritanopia (blue-blind)
#F4C6BA
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e4d362; /* rgb */ color: rgb(228, 211, 98); /* oklch */ color: oklch(85.9% 0.135 100.8);
Tailwind
colors: {
custom: {
50: '#efe092',
500: '#e4d362',
950: '#000000',
},
}SCSS
$custom: #e4d362; $custom-light: #efe092; $custom-dark: #000000;
JSON
{
"hex": "#e4d362",
"rgb": {
"r": 228,
"g": 211,
"b": 98
},
"hsl": {
"h": 52.154,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.8589,
"c": 0.1347,
"h": 100.8
},
"luminance": 0.63964
}Semantic roles & 50–950 ramp
primary
#E4D362
secondary
#3B4AAF
accent
#2CD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F