#E7D459#E7D459
#E7D459 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.3% C 0.143 H 100.5°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D459 |
|---|---|
| RGB | rgb(231, 212, 89) |
| HSL | hsl(52, 75%, 63%) |
| HSV | hsv(52, 61%, 91%) |
| CMYK | cmyk(0%, 8.2%, 61.5%, 9.4%) |
| CIE-LAB | lab(84.38, -7.84, 61.53) |
| CIE-LCH | lch(84.38, 62.03, 97.26°) |
| OKLab | oklab(86.27% -0.0262 0.1407) |
| OKLCH | oklch(86.27% 0.143 100.5) |
| XYZ | xyz(58.3040, 64.7996, 18.8857) |
| Luminance | 0.6480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.90
Sand Yellow
#FCE166
ΔE00 3.85
Sandy
#F1DA7A
ΔE00 4.13
Light Mustard
#F7D560
ΔE00 4.22
Light Gold
#FDDC5C
ΔE00 4.34
Pale Gold
#FDDE6C
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D459 #596CE7
analogous
#E78D59 #E7D459 #B3E759
triadic
#E7D459 #59E7D4 #D459E7
tetradic
#E7D459 #59E78D #596CE7 #E759B3
square
#E7D459 #59E78D #596CE7 #E759B3
split-complementary
#E7D459 #59B3E7 #8D59E7
monochromatic
#AD9919 #DFC624 #E7D459 #EFE28E #F6F0C4
Accessibility & contrast
On white
1.50
#E7D459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.96
#E7D459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D459
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D459 | 1.00 | 1.50 | 13.96 | 13.96 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE4B
Deuteranopia (green-blind)
#ECD65F
Tritanopia (blue-blind)
#F8C6BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d459; /* rgb */ color: rgb(231, 212, 89); /* oklch */ color: oklch(86.3% 0.143 100.5);
Tailwind
colors: {
custom: {
50: '#f2e08d',
500: '#e7d459',
950: '#000000',
},
}SCSS
$custom: #e7d459; $custom-light: #f2e08d; $custom-dark: #000000;
JSON
{
"hex": "#e7d459",
"rgb": {
"r": 231,
"g": 212,
"b": 89
},
"hsl": {
"h": 51.972,
"s": 74.737,
"l": 62.745
},
"oklch": {
"l": 0.86267,
"c": 0.14316,
"h": 100.5
},
"luminance": 0.64797
}Semantic roles & 50–950 ramp
primary
#E7D459
secondary
#3646AE
accent
#29D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F