#E7D557#E7D557
#E7D557 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.5% C 0.146 H 101.2°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D557 |
|---|---|
| RGB | rgb(231, 213, 87) |
| HSL | hsl(53, 75%, 62%) |
| HSV | hsv(53, 62%, 91%) |
| CMYK | cmyk(0%, 7.8%, 62.3%, 9.4%) |
| CIE-LAB | lab(84.62, -8.47, 62.65) |
| CIE-LCH | lch(84.62, 63.22, 97.70°) |
| OKLab | oklab(86.45% -0.0282 0.1428) |
| OKLCH | oklch(86.45% 0.146 101.2) |
| XYZ | xyz(58.4719, 65.2680, 18.5330) |
| Luminance | 0.6527 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.62
Sand Yellow
#FCE166
ΔE00 3.88
Sandy
#F1DA7A
ΔE00 4.43
Light Gold
#FDDC5C
ΔE00 4.45
Light Mustard
#F7D560
ΔE00 4.52
Yellow Tan
#FFE36E
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D557 #5769E7
analogous
#E78D57 #E7D557 #B1E757
triadic
#E7D557 #57E7D5 #D557E7
tetradic
#E7D557 #57E78D #5769E7 #E757B1
square
#E7D557 #57E78D #5769E7 #E757B1
split-complementary
#E7D557 #57B1E7 #8D57E7
monochromatic
#AB9918 #DFC821 #E7D557 #EFE28D #F6F0C2
Accessibility & contrast
On white
1.49
#E7D557 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.05
#E7D557 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D557
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D557 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D557 | 1.00 | 1.49 | 14.05 | 14.05 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF48
Deuteranopia (green-blind)
#EDD65E
Tritanopia (blue-blind)
#F8C7BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d557; /* rgb */ color: rgb(231, 213, 87); /* oklch */ color: oklch(86.5% 0.146 101.2);
Tailwind
colors: {
custom: {
50: '#f2e18c',
500: '#e7d557',
950: '#000000',
},
}SCSS
$custom: #e7d557; $custom-light: #f2e18c; $custom-dark: #000000;
JSON
{
"hex": "#e7d557",
"rgb": {
"r": 231,
"g": 213,
"b": 87
},
"hsl": {
"h": 52.5,
"s": 75,
"l": 62.353
},
"oklch": {
"l": 0.86453,
"c": 0.14559,
"h": 101.2
},
"luminance": 0.65266
}Semantic roles & 50–950 ramp
primary
#E7D557
secondary
#3645AC
accent
#27D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F