#E4F978#E4F978
#E4F978 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.1% C 0.156 H 117.2°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).
Color values
| HEX | #E4F978 |
|---|---|
| RGB | rgb(228, 249, 120) |
| HSL | hsl(70, 91%, 72%) |
| HSV | hsv(70, 52%, 98%) |
| CMYK | cmyk(8.4%, 0%, 51.8%, 2.4%) |
| CIE-LAB | lab(94.14, -24.81, 58.84) |
| CIE-LCH | lch(94.14, 63.86, 112.86°) |
| OKLab | oklab(94.09% -0.0711 0.1385) |
| OKLCH | oklch(94.09% 0.156 117.2) |
| XYZ | xyz(69.2617, 85.6021, 30.6398) |
| Luminance | 0.8560 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.51
Yellowish Tan
#FCFC81
ΔE00 4.76
Faded Yellow
#FEFF7F
ΔE00 4.79
Pale Yellow
#FFFF84
ΔE00 4.96
Butter
#FFFF81
ΔE00 4.98
Banana (survey)
#FFFF7E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4F978 #8D78F9
analogous
#F9CD78 #E4F978 #A4F978
triadic
#E4F978 #78E4F9 #F978E4
tetradic
#E4F978 #78F9CD #8D78F9 #F978A4
square
#E4F978 #78F9CD #8D78F9 #F978A4
split-complementary
#E4F978 #78A4F9 #CD78F9
monochromatic
#C7EC0A #D8F63D #E4F978 #F0FCB3 #F9FEE2
Accessibility & contrast
On white
1.16
#E4F978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.12
#E4F978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4F978
18.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4F978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4F978 | 1.00 | 1.16 | 18.12 | 18.12 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFEF7F
Tritanopia (blue-blind)
#F0EDDC
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #e4f978; /* rgb */ color: rgb(228, 249, 120); /* oklch */ color: oklch(94.1% 0.156 117.2);
Tailwind
colors: {
custom: {
50: '#effba2',
500: '#e4f978',
950: '#000000',
},
}SCSS
$custom: #e4f978; $custom-light: #effba2; $custom-dark: #000000;
JSON
{
"hex": "#e4f978",
"rgb": {
"r": 228,
"g": 249,
"b": 120
},
"hsl": {
"h": 69.767,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.9409,
"c": 0.15565,
"h": 117.2
},
"luminance": 0.85601
}Semantic roles & 50–950 ramp
primary
#E4F978
secondary
#5840D5
accent
#00E625
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580