#E9F978#E9F978
#E9F978 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.5% C 0.154 H 115.3°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E9F978 |
|---|---|
| RGB | rgb(233, 249, 120) |
| HSL | hsl(67, 91%, 72%) |
| HSV | hsv(67, 52%, 98%) |
| CMYK | cmyk(6.4%, 0%, 51.8%, 2.4%) |
| CIE-LAB | lab(94.50, -22.88, 59.34) |
| CIE-LCH | lch(94.50, 63.60, 111.08°) |
| OKLab | oklab(94.46% -0.0659 0.1395) |
| OKLCH | oklch(94.46% 0.154 115.3) |
| XYZ | xyz(70.8713, 86.4320, 30.7152) |
| Luminance | 0.8643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.72
Faded Yellow
#FEFF7F
ΔE00 3.76
Pale Yellow
#FFFF84
ΔE00 3.96
Butter
#FFFF81
ΔE00 3.96
Banana (survey)
#FFFF7E
ΔE00 4.00
Light Yellow
#FFFE7A
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9F978 #8878F9
analogous
#F9C978 #E9F978 #A8F978
triadic
#E9F978 #78E9F9 #F978E9
tetradic
#E9F978 #78F9C9 #8878F9 #F978A8
square
#E9F978 #78F9C9 #8878F9 #F978A8
split-complementary
#E9F978 #78A8F9 #C978F9
monochromatic
#D0EC0A #DFF63D #E9F978 #F3FCB3 #FAFEE2
Accessibility & contrast
On white
1.15
#E9F978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.29
#E9F978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9F978
18.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9F978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9F978 | 1.00 | 1.15 | 18.29 | 18.29 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#F5EDDC
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #e9f978; /* rgb */ color: rgb(233, 249, 120); /* oklch */ color: oklch(94.5% 0.154 115.3);
Tailwind
colors: {
custom: {
50: '#f2fba2',
500: '#e9f978',
950: '#000000',
},
}SCSS
$custom: #e9f978; $custom-light: #f2fba2; $custom-dark: #000000;
JSON
{
"hex": "#e9f978",
"rgb": {
"r": 233,
"g": 249,
"b": 120
},
"hsl": {
"h": 67.442,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.94462,
"c": 0.15427,
"h": 115.3
},
"luminance": 0.86431
}Semantic roles & 50–950 ramp
primary
#E9F978
secondary
#5340D5
accent
#00E61C
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580