#E4E981#E4E981
#E4E981 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.8% C 0.128 H 111.1°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E981 |
|---|---|
| RGB | rgb(228, 233, 129) |
| HSL | hsl(63, 70%, 71%) |
| HSV | hsv(63, 45%, 91%) |
| CMYK | cmyk(2.1%, 0%, 44.6%, 8.6%) |
| CIE-LAB | lab(90.03, -16.27, 49.73) |
| CIE-LCH | lch(90.03, 52.32, 108.12°) |
| OKLab | oklab(90.83% -0.046 0.1192) |
| OKLCH | oklch(90.83% 0.128 111.1) |
| XYZ | xyz(65.0973, 76.3580, 32.0740) |
| Luminance | 0.7636 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.19
Manilla
#FFFA86
ΔE00 4.93
Yellowish Tan
#FCFC81
ΔE00 4.94
Light Khaki
#E6F2A2
ΔE00 4.96
Straw
#FCF679
ΔE00 5.05
Buff
#FEF69E
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E981 #8681E9
analogous
#E9BA81 #E4E981 #B0E981
triadic
#E4E981 #81E4E9 #E981E4
tetradic
#E4E981 #81E9BA #8681E9 #E981B0
square
#E4E981 #81E9BA #8681E9 #E981B0
split-complementary
#E4E981 #81B0E9 #BA81E9
monochromatic
#C4CC24 #D9E04D #E4E981 #EFF2B5 #F9FAE5
Accessibility & contrast
On white
1.29
#E4E981 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.27
#E4E981 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E981
16.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E981 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E981 | 1.00 | 1.29 | 16.27 | 16.27 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E178
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#F0DED0
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #e4e981; /* rgb */ color: rgb(228, 233, 129); /* oklch */ color: oklch(90.8% 0.128 111.1);
Tailwind
colors: {
custom: {
50: '#eeefa7',
500: '#e4e981',
950: '#000000',
},
}SCSS
$custom: #e4e981; $custom-light: #eeefa7; $custom-dark: #000000;
JSON
{
"hex": "#e4e981",
"rgb": {
"r": 228,
"g": 233,
"b": 129
},
"hsl": {
"h": 62.885,
"s": 70.27,
"l": 70.98
},
"oklch": {
"l": 0.90833,
"c": 0.12778,
"h": 111.1
},
"luminance": 0.76357
}Semantic roles & 50–950 ramp
primary
#E4E981
secondary
#524CC2
accent
#13D21C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#171610
muted
#858580