#E5D162#E5D162
#E5D162 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.133 H 99.2°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D162 |
|---|---|
| RGB | rgb(229, 209, 98) |
| HSL | hsl(51, 72%, 64%) |
| HSV | hsv(51, 57%, 90%) |
| CMYK | cmyk(0%, 8.7%, 57.2%, 10.2%) |
| CIE-LAB | lab(83.52, -6.52, 56.54) |
| CIE-LCH | lch(83.52, 56.92, 96.58°) |
| OKLab | oklab(85.57% -0.0213 0.1313) |
| OKLCH | oklch(85.57% 0.133 99.2) |
| XYZ | xyz(57.3203, 63.1431, 20.7214) |
| Luminance | 0.6314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.18
Sandy
#F1DA7A
ΔE00 3.28
Light Mustard
#F7D560
ΔE00 4.04
Sand (survey)
#E2CA76
ΔE00 4.35
Sand Yellow
#FCE166
ΔE00 4.43
Maize
#F4D054
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D162 #6276E5
analogous
#E59062 #E5D162 #B8E562
triadic
#E5D162 #62E5D1 #D162E5
tetradic
#E5D162 #62E590 #6276E5 #E562B8
square
#E5D162 #62E590 #6276E5 #E562B8
split-complementary
#E5D162 #62B8E5 #9062E5
monochromatic
#B0991D #DCC22D #E5D162 #EEE097 #F6F0CB
Accessibility & contrast
On white
1.54
#E5D162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.63
#E5D162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D162
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D162 | 1.00 | 1.54 | 13.63 | 13.63 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#F5C4B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e5d162; /* rgb */ color: rgb(229, 209, 98); /* oklch */ color: oklch(85.6% 0.133 99.2);
Tailwind
colors: {
custom: {
50: '#f0de92',
500: '#e5d162',
950: '#000000',
},
}SCSS
$custom: #e5d162; $custom-light: #f0de92; $custom-dark: #000000;
JSON
{
"hex": "#e5d162",
"rgb": {
"r": 229,
"g": 209,
"b": 98
},
"hsl": {
"h": 50.84,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.85569,
"c": 0.13299,
"h": 99.2
},
"luminance": 0.63141
}Semantic roles & 50–950 ramp
primary
#E5D162
secondary
#3B4DB1
accent
#2FD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F