#E7D561#E7D561
#E7D561 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.6% C 0.137 H 100.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D561 |
|---|---|
| RGB | rgb(231, 213, 97) |
| HSL | hsl(52, 74%, 64%) |
| HSV | hsv(52, 58%, 91%) |
| CMYK | cmyk(0%, 7.8%, 58%, 9.4%) |
| CIE-LAB | lab(84.71, -7.80, 58.39) |
| CIE-LCH | lch(84.71, 58.91, 97.61°) |
| OKLab | oklab(86.55% -0.0252 0.1351) |
| OKLCH | oklch(86.55% 0.137 100.6) |
| XYZ | xyz(58.9091, 65.4428, 20.8356) |
| Luminance | 0.6544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.11
Sandy
#F1DA7A
ΔE00 3.45
Sand Yellow
#FCE166
ΔE00 3.88
Pale Gold
#FDDE6C
ΔE00 4.33
Light Mustard
#F7D560
ΔE00 4.34
Yellow Tan
#FFE36E
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D561 #6173E7
analogous
#E79261 #E7D561 #B6E761
triadic
#E7D561 #61E7D5 #D561E7
tetradic
#E7D561 #61E792 #6173E7 #E761B6
square
#E7D561 #61E792 #6173E7 #E761B6
split-complementary
#E7D561 #61B6E7 #9261E7
monochromatic
#B29E1B #DFC72C #E7D561 #EFE396 #F7F1CB
Accessibility & contrast
On white
1.49
#E7D561 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#E7D561 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D561
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D561 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D561 | 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)
#E7CF55
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#F7C7BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d561; /* rgb */ color: rgb(231, 213, 97); /* oklch */ color: oklch(86.6% 0.137 100.6);
Tailwind
colors: {
custom: {
50: '#f1e192',
500: '#e7d561',
950: '#000000',
},
}SCSS
$custom: #e7d561; $custom-light: #f1e192; $custom-dark: #000000;
JSON
{
"hex": "#e7d561",
"rgb": {
"r": 231,
"g": 213,
"b": 97
},
"hsl": {
"h": 51.94,
"s": 73.626,
"l": 64.314
},
"oklch": {
"l": 0.86553,
"c": 0.1374,
"h": 100.6
},
"luminance": 0.6544
}Semantic roles & 50–950 ramp
primary
#E7D561
secondary
#394AB3
accent
#2AD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F