#E2E980#E2E980
#E2E980 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.7% C 0.129 H 112.1°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E980 |
|---|---|
| RGB | rgb(226, 233, 128) |
| HSL | hsl(64, 70%, 71%) |
| HSV | hsv(64, 45%, 91%) |
| CMYK | cmyk(3%, 0%, 45.1%, 8.6%) |
| CIE-LAB | lab(89.86, -17.15, 49.97) |
| CIE-LCH | lch(89.86, 52.83, 108.94°) |
| OKLab | oklab(90.66% -0.0485 0.1197) |
| OKLCH | oklch(90.66% 0.129 112.1) |
| XYZ | xyz(64.4002, 76.0062, 31.6960) |
| Luminance | 0.7601 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.66
Light Khaki
#E6F2A2
ΔE00 4.91
Yellowish Tan
#FCFC81
ΔE00 5.12
Manilla
#FFFA86
ΔE00 5.23
Straw
#FCF679
ΔE00 5.33
Buff
#FEF69E
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E980 #8780E9
analogous
#E9BB80 #E2E980 #ADE980
triadic
#E2E980 #80E2E9 #E980E2
tetradic
#E2E980 #80E9BB #8780E9 #E980AD
square
#E2E980 #80E9BB #8780E9 #E980AD
split-complementary
#E2E980 #80ADE9 #BB80E9
monochromatic
#C0CB23 #D6E04C #E2E980 #EEF2B4 #F9FAE5
Accessibility & contrast
On white
1.30
#E2E980 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.20
#E2E980 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E980
16.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E980 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E980 | 1.00 | 1.30 | 16.20 | 16.20 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E177
Deuteranopia (green-blind)
#F7E385
Tritanopia (blue-blind)
#EEDED0
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #e2e980; /* rgb */ color: rgb(226, 233, 128); /* oklch */ color: oklch(90.7% 0.129 112.1);
Tailwind
colors: {
custom: {
50: '#edefa7',
500: '#e2e980',
950: '#000000',
},
}SCSS
$custom: #e2e980; $custom-light: #edefa7; $custom-dark: #000000;
JSON
{
"hex": "#e2e980",
"rgb": {
"r": 226,
"g": 233,
"b": 128
},
"hsl": {
"h": 64,
"s": 70.47,
"l": 70.784
},
"oklch": {
"l": 0.90662,
"c": 0.12916,
"h": 112.1
},
"luminance": 0.76005
}Semantic roles & 50–950 ramp
primary
#E2E980
secondary
#534BC2
accent
#13D220
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#161610
muted
#858580