#E7D456#E7D456
#E7D456 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.146 H 100.7°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D456 |
|---|---|
| RGB | rgb(231, 212, 86) |
| HSL | hsl(52, 75%, 62%) |
| HSV | hsv(52, 63%, 91%) |
| CMYK | cmyk(0%, 8.2%, 62.8%, 9.4%) |
| CIE-LAB | lab(84.35, -8.03, 62.78) |
| CIE-LCH | lch(84.35, 63.29, 97.29°) |
| OKLab | oklab(86.24% -0.0271 0.143) |
| OKLCH | oklch(86.24% 0.146 100.7) |
| XYZ | xyz(58.1805, 64.7502, 18.2357) |
| Luminance | 0.6475 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.83
Sand Yellow
#FCE166
ΔE00 3.89
Light Mustard
#F7D560
ΔE00 4.30
Light Gold
#FDDC5C
ΔE00 4.33
Sandy
#F1DA7A
ΔE00 4.42
Pale Gold
#FDDE6C
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D456 #5669E7
analogous
#E78C56 #E7D456 #B2E756
triadic
#E7D456 #56E7D4 #D456E7
tetradic
#E7D456 #56E78C #5669E7 #E756B2
square
#E7D456 #56E78C #5669E7 #E756B2
split-complementary
#E7D456 #56B2E7 #8C56E7
monochromatic
#AA9718 #DFC620 #E7D456 #EFE28C #F6EFC1
Accessibility & contrast
On white
1.51
#E7D456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.95
#E7D456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D456
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D456 | 1.00 | 1.51 | 13.95 | 13.95 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE47
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#F8C6B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e7d456; /* rgb */ color: rgb(231, 212, 86); /* oklch */ color: oklch(86.2% 0.146 100.7);
Tailwind
colors: {
custom: {
50: '#f2e08b',
500: '#e7d456',
950: '#000000',
},
}SCSS
$custom: #e7d456; $custom-light: #f2e08b; $custom-dark: #000000;
JSON
{
"hex": "#e7d456",
"rgb": {
"r": 231,
"g": 212,
"b": 86
},
"hsl": {
"h": 52.138,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.86239,
"c": 0.14551,
"h": 100.7
},
"luminance": 0.64748
}Semantic roles & 50–950 ramp
primary
#E7D456
secondary
#3545AC
accent
#29D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F