#E7D057#E7D057
#E7D057 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.141 H 98.5°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D057 |
|---|---|
| RGB | rgb(231, 208, 87) |
| HSL | hsl(50, 75%, 62%) |
| HSV | hsv(50, 62%, 91%) |
| CMYK | cmyk(0%, 10%, 62.3%, 9.4%) |
| CIE-LAB | lab(83.33, -5.94, 61.25) |
| CIE-LCH | lch(83.33, 61.54, 95.53°) |
| OKLab | oklab(85.43% -0.021 0.1399) |
| OKLCH | oklch(85.43% 0.141 98.5) |
| XYZ | xyz(57.2336, 62.7914, 18.1202) |
| Luminance | 0.6279 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.00
Light Mustard
#F7D560
ΔE00 3.44
Maize
#F4D054
ΔE00 3.50
Light Gold
#FDDC5C
ΔE00 4.07
Sand Yellow
#FCE166
ΔE00 4.14
Sandy
#F1DA7A
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D057 #576EE7
analogous
#E78857 #E7D057 #B6E757
triadic
#E7D057 #57E7D0 #D057E7
tetradic
#E7D057 #57E788 #576EE7 #E757B6
square
#E7D057 #57E788 #576EE7 #E757B6
split-complementary
#E7D057 #57B6E7 #8857E7
monochromatic
#AB9418 #DFC121 #E7D057 #EFDF8D #F6EEC2
Accessibility & contrast
On white
1.55
#E7D057 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.56
#E7D057 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D057
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D057 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D057 | 1.00 | 1.55 | 13.56 | 13.56 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#F8C2B6
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e7d057; /* rgb */ color: rgb(231, 208, 87); /* oklch */ color: oklch(85.4% 0.141 98.5);
Tailwind
colors: {
custom: {
50: '#f2de8b',
500: '#e7d057',
950: '#000000',
},
}SCSS
$custom: #e7d057; $custom-light: #f2de8b; $custom-dark: #000000;
JSON
{
"hex": "#e7d057",
"rgb": {
"r": 231,
"g": 208,
"b": 87
},
"hsl": {
"h": 50.417,
"s": 75,
"l": 62.353
},
"oklch": {
"l": 0.85431,
"c": 0.14144,
"h": 98.5
},
"luminance": 0.62789
}Semantic roles & 50–950 ramp
primary
#E7D057
secondary
#3649AC
accent
#2ED70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F