#E7D562#E7D562
#E7D562 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.137 H 100.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D562 |
|---|---|
| RGB | rgb(231, 213, 98) |
| HSL | hsl(52, 73%, 65%) |
| HSV | hsv(52, 58%, 91%) |
| CMYK | cmyk(0%, 7.8%, 57.6%, 9.4%) |
| CIE-LAB | lab(84.72, -7.73, 57.95) |
| CIE-LCH | lch(84.72, 58.46, 97.59°) |
| OKLab | oklab(86.56% -0.0249 0.1343) |
| OKLCH | oklch(86.56% 0.137 100.5) |
| XYZ | xyz(58.9560, 65.4616, 21.0828) |
| Luminance | 0.6546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.19
Sandy
#F1DA7A
ΔE00 3.35
Sand Yellow
#FCE166
ΔE00 3.89
Pale Gold
#FDDE6C
ΔE00 4.31
Light Mustard
#F7D560
ΔE00 4.34
Yellow Tan
#FFE36E
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D562 #6274E7
analogous
#E79362 #E7D562 #B6E762
triadic
#E7D562 #62E7D5 #D562E7
tetradic
#E7D562 #62E793 #6274E7 #E762B6
square
#E7D562 #62E793 #6274E7 #E762B6
split-complementary
#E7D562 #62B6E7 #9362E7
monochromatic
#B39F1B #DFC72D #E7D562 #EFE397 #F7F1CC
Accessibility & contrast
On white
1.49
#E7D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#E7D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D562
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D562 | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#F7C8BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d562; /* rgb */ color: rgb(231, 213, 98); /* oklch */ color: oklch(86.6% 0.137 100.5);
Tailwind
colors: {
custom: {
50: '#f1e192',
500: '#e7d562',
950: '#000000',
},
}SCSS
$custom: #e7d562; $custom-light: #f1e192; $custom-dark: #000000;
JSON
{
"hex": "#e7d562",
"rgb": {
"r": 231,
"g": 213,
"b": 98
},
"hsl": {
"h": 51.88,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.86564,
"c": 0.13654,
"h": 100.5
},
"luminance": 0.65459
}Semantic roles & 50–950 ramp
primary
#E7D562
secondary
#3A4AB4
accent
#2BD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F