#E9D562#E9D562
#E9D562 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.137 H 99.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D562 |
|---|---|
| RGB | rgb(233, 213, 98) |
| HSL | hsl(51, 75%, 65%) |
| HSV | hsv(51, 58%, 91%) |
| CMYK | cmyk(0%, 8.6%, 57.9%, 8.6%) |
| CIE-LAB | lab(84.89, -6.91, 58.19) |
| CIE-LCH | lch(84.89, 58.60, 96.77°) |
| OKLab | oklab(86.74% -0.0226 0.1347) |
| OKLCH | oklch(86.74% 0.137 99.5) |
| XYZ | xyz(59.6054, 65.7964, 21.1132) |
| Luminance | 0.6579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.21
Sandy
#F1DA7A
ΔE00 3.11
Sand Yellow
#FCE166
ΔE00 3.54
Light Mustard
#F7D560
ΔE00 3.79
Pale Gold
#FDDE6C
ΔE00 3.84
Yellow Tan
#FFE36E
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D562 #6276E9
analogous
#E99162 #E9D562 #BAE962
triadic
#E9D562 #62E9D5 #D562E9
tetradic
#E9D562 #62E991 #6276E9 #E962BA
square
#E9D562 #62E991 #6276E9 #E962BA
split-complementary
#E9D562 #62BAE9 #9162E9
monochromatic
#B7A01A #E1C72C #E9D562 #F1E398 #F8F2CD
Accessibility & contrast
On white
1.48
#E9D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.16
#E9D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D562
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D562 | 1.00 | 1.48 | 14.16 | 14.16 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#EDD768
Tritanopia (blue-blind)
#F9C7BC
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e9d562; /* rgb */ color: rgb(233, 213, 98); /* oklch */ color: oklch(86.7% 0.137 99.5);
Tailwind
colors: {
custom: {
50: '#f3e192',
500: '#e9d562',
950: '#000000',
},
}SCSS
$custom: #e9d562; $custom-light: #f3e192; $custom-dark: #000000;
JSON
{
"hex": "#e9d562",
"rgb": {
"r": 233,
"g": 213,
"b": 98
},
"hsl": {
"h": 51.111,
"s": 75.419,
"l": 64.902
},
"oklch": {
"l": 0.86741,
"c": 0.13661,
"h": 99.5
},
"luminance": 0.65794
}Semantic roles & 50–950 ramp
primary
#E9D562
secondary
#384BB7
accent
#2CD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F