#E7D454#E7D454
#E7D454 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.147 H 100.8°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D454 |
|---|---|
| RGB | rgb(231, 212, 84) |
| HSL | hsl(52, 75%, 62%) |
| HSV | hsv(52, 64%, 91%) |
| CMYK | cmyk(0%, 8.2%, 63.6%, 9.4%) |
| CIE-LAB | lab(84.34, -8.15, 63.60) |
| CIE-LCH | lch(84.34, 64.12, 97.30°) |
| OKLab | oklab(86.22% -0.0277 0.1444) |
| OKLCH | oklch(86.22% 0.147 100.8) |
| XYZ | xyz(58.1011, 64.7184, 17.8173) |
| Luminance | 0.6472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.82
Sand Yellow
#FCE166
ΔE00 3.92
Light Gold
#FDDC5C
ΔE00 4.33
Light Mustard
#F7D560
ΔE00 4.37
Maize
#F4D054
ΔE00 4.59
Sandy
#F1DA7A
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D454 #5467E7
analogous
#E78B54 #E7D454 #B1E754
triadic
#E7D454 #54E7D4 #D454E7
tetradic
#E7D454 #54E78B #5467E7 #E754B1
square
#E7D454 #54E78B #5467E7 #E754B1
split-complementary
#E7D454 #54B1E7 #8B54E7
monochromatic
#A99618 #DFC61F #E7D454 #EFE18A #F6EFBF
Accessibility & contrast
On white
1.51
#E7D454 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.94
#E7D454 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D454
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D454 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D454 | 1.00 | 1.51 | 13.94 | 13.94 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE44
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#F8C6B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e7d454; /* rgb */ color: rgb(231, 212, 84); /* oklch */ color: oklch(86.2% 0.147 100.8);
Tailwind
colors: {
custom: {
50: '#f2e08a',
500: '#e7d454',
950: '#000000',
},
}SCSS
$custom: #e7d454; $custom-light: #f2e08a; $custom-dark: #000000;
JSON
{
"hex": "#e7d454",
"rgb": {
"r": 231,
"g": 212,
"b": 84
},
"hsl": {
"h": 52.245,
"s": 75.385,
"l": 61.765
},
"oklch": {
"l": 0.8622,
"c": 0.14705,
"h": 100.8
},
"luminance": 0.64716
}Semantic roles & 50–950 ramp
primary
#E7D454
secondary
#3544AA
accent
#28D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F