#E5D562#E5D562
#E5D562 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.137 H 101.5°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D562 |
|---|---|
| RGB | rgb(229, 213, 98) |
| HSL | hsl(53, 72%, 64%) |
| HSV | hsv(53, 57%, 90%) |
| CMYK | cmyk(0%, 7%, 57.2%, 10.2%) |
| CIE-LAB | lab(84.55, -8.55, 57.71) |
| CIE-LCH | lch(84.55, 58.34, 98.42°) |
| OKLab | oklab(86.39% -0.0271 0.1338) |
| OKLCH | oklch(86.39% 0.137 101.5) |
| XYZ | xyz(58.3140, 65.1306, 21.0527) |
| Luminance | 0.6513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.31
Sandy
#F1DA7A
ΔE00 3.65
Sand Yellow
#FCE166
ΔE00 4.29
Yellow Tan
#FFE36E
ΔE00 4.78
Pale Gold
#FDDE6C
ΔE00 4.79
Light Mustard
#F7D560
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D562 #6272E5
analogous
#E59462 #E5D562 #B4E562
triadic
#E5D562 #62E5D5 #D562E5
tetradic
#E5D562 #62E594 #6272E5 #E562B4
square
#E5D562 #62E594 #6272E5 #E562B4
split-complementary
#E5D562 #62B4E5 #9462E5
monochromatic
#B09E1D #DCC72D #E5D562 #EEE397 #F6F1CB
Accessibility & contrast
On white
1.50
#E5D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.03
#E5D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D562
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D562 | 1.00 | 1.50 | 14.03 | 14.03 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#F5C8BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e5d562; /* rgb */ color: rgb(229, 213, 98); /* oklch */ color: oklch(86.4% 0.137 101.5);
Tailwind
colors: {
custom: {
50: '#f0e192',
500: '#e5d562',
950: '#000000',
},
}SCSS
$custom: #e5d562; $custom-light: #f0e192; $custom-dark: #000000;
JSON
{
"hex": "#e5d562",
"rgb": {
"r": 229,
"g": 213,
"b": 98
},
"hsl": {
"h": 52.672,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.86388,
"c": 0.1365,
"h": 101.5
},
"luminance": 0.65128
}Semantic roles & 50–950 ramp
primary
#E5D562
secondary
#3B49B1
accent
#2AD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F