#E4D162#E4D162
#E4D162 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.5% C 0.133 H 99.7°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D162 |
|---|---|
| RGB | rgb(228, 209, 98) |
| HSL | hsl(51, 71%, 64%) |
| HSV | hsv(51, 57%, 89%) |
| CMYK | cmyk(0%, 8.3%, 57%, 10.6%) |
| CIE-LAB | lab(83.43, -6.93, 56.42) |
| CIE-LCH | lch(83.43, 56.84, 97.00°) |
| OKLab | oklab(85.48% -0.0224 0.131) |
| OKLCH | oklch(85.48% 0.133 99.7) |
| XYZ | xyz(57.0021, 62.9791, 20.7065) |
| Luminance | 0.6298 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.17
Sandy
#F1DA7A
ΔE00 3.40
Light Mustard
#F7D560
ΔE00 4.31
Sand (survey)
#E2CA76
ΔE00 4.44
Sand Yellow
#FCE166
ΔE00 4.58
Pale Gold
#FDDE6C
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D162 #6275E4
analogous
#E49062 #E4D162 #B6E462
triadic
#E4D162 #62E4D1 #D162E4
tetradic
#E4D162 #62E490 #6275E4 #E462B6
square
#E4D162 #62E490 #6275E4 #E462B6
split-complementary
#E4D162 #62B6E4 #9062E4
monochromatic
#AE991E #DBC22E #E4D162 #EDE096 #F6F0CA
Accessibility & contrast
On white
1.54
#E4D162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.60
#E4D162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D162
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D162 | 1.00 | 1.54 | 13.60 | 13.60 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#F4C4B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e4d162; /* rgb */ color: rgb(228, 209, 98); /* oklch */ color: oklch(85.5% 0.133 99.7);
Tailwind
colors: {
custom: {
50: '#efde92',
500: '#e4d162',
950: '#000000',
},
}SCSS
$custom: #e4d162; $custom-light: #efde92; $custom-dark: #000000;
JSON
{
"hex": "#e4d162",
"rgb": {
"r": 228,
"g": 209,
"b": 98
},
"hsl": {
"h": 51.231,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.8548,
"c": 0.13294,
"h": 99.7
},
"luminance": 0.62977
}Semantic roles & 50–950 ramp
primary
#E4D162
secondary
#3B4CAF
accent
#2FD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F