#E7D460#E7D460
#E7D460 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.137 H 100.1°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D460 |
|---|---|
| RGB | rgb(231, 212, 96) |
| HSL | hsl(52, 74%, 64%) |
| HSV | hsv(52, 58%, 91%) |
| CMYK | cmyk(0%, 8.2%, 58.4%, 9.4%) |
| CIE-LAB | lab(84.44, -7.36, 58.54) |
| CIE-LCH | lch(84.44, 59.00, 97.17°) |
| OKLab | oklab(86.34% -0.0241 0.1353) |
| OKLCH | oklch(86.34% 0.137 100.1) |
| XYZ | xyz(58.6120, 64.9228, 20.5080) |
| Luminance | 0.6492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.27
Sandy
#F1DA7A
ΔE00 3.44
Sand Yellow
#FCE166
ΔE00 3.88
Light Mustard
#F7D560
ΔE00 4.11
Pale Gold
#FDDE6C
ΔE00 4.24
Yellow Tan
#FFE36E
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D460 #6073E7
analogous
#E79160 #E7D460 #B6E760
triadic
#E7D460 #60E7D4 #D460E7
tetradic
#E7D460 #60E791 #6073E7 #E760B6
square
#E7D460 #60E791 #6073E7 #E760B6
split-complementary
#E7D460 #60B6E7 #9160E7
monochromatic
#B29D1B #DFC62B #E7D460 #EFE295 #F7F1CA
Accessibility & contrast
On white
1.50
#E7D460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.98
#E7D460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D460
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D460 | 1.00 | 1.50 | 13.98 | 13.98 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF54
Deuteranopia (green-blind)
#EBD666
Tritanopia (blue-blind)
#F7C6BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e7d460; /* rgb */ color: rgb(231, 212, 96); /* oklch */ color: oklch(86.3% 0.137 100.1);
Tailwind
colors: {
custom: {
50: '#f1e091',
500: '#e7d460',
950: '#000000',
},
}SCSS
$custom: #e7d460; $custom-light: #f1e091; $custom-dark: #000000;
JSON
{
"hex": "#e7d460",
"rgb": {
"r": 231,
"g": 212,
"b": 96
},
"hsl": {
"h": 51.556,
"s": 73.77,
"l": 64.118
},
"oklch": {
"l": 0.86338,
"c": 0.13738,
"h": 100.1
},
"luminance": 0.6492
}Semantic roles & 50–950 ramp
primary
#E7D460
secondary
#394AB2
accent
#2CD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F