#E2E978#E2E978
#E2E978 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.6% C 0.137 H 112.0°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E978 |
|---|---|
| RGB | rgb(226, 233, 120) |
| HSL | hsl(64, 72%, 69%) |
| HSV | hsv(64, 48%, 91%) |
| CMYK | cmyk(3%, 0%, 48.5%, 8.6%) |
| CIE-LAB | lab(89.77, -17.89, 53.63) |
| CIE-LCH | lch(89.77, 56.54, 108.45°) |
| OKLab | oklab(90.56% -0.0513 0.1272) |
| OKLCH | oklch(90.56% 0.137 112) |
| XYZ | xyz(63.8943, 75.8038, 29.0314) |
| Luminance | 0.7580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.73
Straw
#FCF679
ΔE00 4.83
Manilla
#FFFA86
ΔE00 4.99
Khaki (CSS)
#F0E68C
ΔE00 5.10
Pale Yellow
#FFFF84
ΔE00 5.27
Faded Yellow
#FEFF7F
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E978 #7F78E9
analogous
#E9B878 #E2E978 #AAE978
triadic
#E2E978 #78E2E9 #E978E2
tetradic
#E2E978 #78E9B8 #7F78E9 #E978AA
square
#E2E978 #78E9B8 #7F78E9 #E978AA
split-complementary
#E2E978 #78AAE9 #B878E9
monochromatic
#BCC620 #D7E043 #E2E978 #EDF2AD #F9FAE1
Accessibility & contrast
On white
1.30
#E2E978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.16
#E2E978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E978
16.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E978 | 1.00 | 1.30 | 16.16 | 16.16 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E06E
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#EEDDCF
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #e2e978; /* rgb */ color: rgb(226, 233, 120); /* oklch */ color: oklch(90.6% 0.137 112.0);
Tailwind
colors: {
custom: {
50: '#edefa1',
500: '#e2e978',
950: '#000000',
},
}SCSS
$custom: #e2e978; $custom-light: #edefa1; $custom-dark: #000000;
JSON
{
"hex": "#e2e978",
"rgb": {
"r": 226,
"g": 233,
"b": 120
},
"hsl": {
"h": 63.717,
"s": 71.975,
"l": 69.216
},
"oklch": {
"l": 0.90557,
"c": 0.13715,
"h": 112
},
"luminance": 0.75803
}Semantic roles & 50–950 ramp
primary
#E2E978
secondary
#4C44C1
accent
#11D41E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580