#E7E462#E7E462
#E7E462 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.7% C 0.151 H 107.9°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).
Color values
| HEX | #E7E462 |
|---|---|
| RGB | rgb(231, 228, 98) |
| HSL | hsl(59, 73%, 65%) |
| HSV | hsv(59, 58%, 91%) |
| CMYK | cmyk(0%, 1.3%, 57.6%, 9.4%) |
| CIE-LAB | lab(88.62, -15.21, 62.31) |
| CIE-LCH | lch(88.62, 64.14, 103.72°) |
| OKLab | oklab(89.66% -0.0462 0.1436) |
| OKLCH | oklch(89.66% 0.151 107.9) |
| XYZ | xyz(62.9049, 73.3594, 22.3991) |
| Luminance | 0.7336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 3.39
Dull Yellow
#EEDC5B
ΔE00 3.95
Sandy Yellow
#FDEE73
ΔE00 4.00
Straw
#FCF679
ΔE00 4.10
Off Yellow
#F1F33F
ΔE00 5.14
Manilla
#FFFA86
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7E462 #6265E7
analogous
#E7A262 #E7E462 #A7E762
triadic
#E7E462 #62E7E4 #E462E7
tetradic
#E7E462 #62E7A2 #6265E7 #E762A7
square
#E7E462 #62E7A2 #6265E7 #E762A7
split-complementary
#E7E462 #62A7E7 #A262E7
monochromatic
#B3B01B #DFDB2D #E7E462 #EFED97 #F7F6CC
Accessibility & contrast
On white
1.34
#E7E462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.67
#E7E462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7E462
15.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7E462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7E462 | 1.00 | 1.34 | 15.67 | 15.67 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#F7E169
Tritanopia (blue-blind)
#F6D7C8
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #e7e462; /* rgb */ color: rgb(231, 228, 98); /* oklch */ color: oklch(89.7% 0.151 107.9);
Tailwind
colors: {
custom: {
50: '#f1ec93',
500: '#e7e462',
950: '#000000',
},
}SCSS
$custom: #e7e462; $custom-light: #f1ec93; $custom-dark: #000000;
JSON
{
"hex": "#e7e462",
"rgb": {
"r": 231,
"g": 228,
"b": 98
},
"hsl": {
"h": 58.647,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.89663,
"c": 0.15082,
"h": 107.9
},
"luminance": 0.73358
}Semantic roles & 50–950 ramp
primary
#E7E462
secondary
#3A3CB4
accent
#14D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F