#E4E8B2#E4E8B2
#E4E8B2 is a very light, moderate yellow. Relative luminance 0.774; OKLCH L 91.5% C 0.070 H 111.2°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E8B2 |
|---|---|
| RGB | rgb(228, 232, 178) |
| HSL | hsl(64, 54%, 80%) |
| HSV | hsv(64, 23%, 91%) |
| CMYK | cmyk(1.7%, 0%, 23.3%, 9%) |
| CIE-LAB | lab(90.52, -9.99, 25.90) |
| CIE-LCH | lch(90.52, 27.76, 111.09°) |
| OKLab | oklab(91.47% -0.0255 0.0657) |
| OKLCH | oklch(91.47% 0.07 111.2) |
| XYZ | xyz(68.8871, 77.4222, 53.4258) |
| Luminance | 0.7742 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 3.51
Egg Shell
#FFFCC4
ΔE00 4.95
Ecru
#FEFFCA
ΔE00 5.04
Ivory (survey)
#FFFFCB
ΔE00 5.18
Cream (survey)
#FFFFC2
ΔE00 5.22
Light Khaki
#E6F2A2
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E8B2 #B6B2E8
analogous
#E8D1B2 #E4E8B2 #C9E8B2
triadic
#E4E8B2 #B2E4E8 #E8B2E4
tetradic
#E4E8B2 #B2E8D1 #B6B2E8 #E8B2C9
square
#E4E8B2 #B2E8D1 #B6B2E8 #E8B2C9
split-complementary
#E4E8B2 #B2C9E8 #D1B2E8
monochromatic
#C3CC54 #D3DA83 #E4E8B2 #F5F6E1 #F7F8E7
Accessibility & contrast
On white
1.27
#E4E8B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.48
#E4E8B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E8B2
16.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E8B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E8B2 | 1.00 | 1.27 | 16.48 | 16.48 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1E3AF
Deuteranopia (green-blind)
#F1E5B4
Tritanopia (blue-blind)
#EBE1D9
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #e4e8b2; /* rgb */ color: rgb(228, 232, 178); /* oklch */ color: oklch(91.5% 0.070 111.2);
Tailwind
colors: {
custom: {
50: '#edefc9',
500: '#e4e8b2',
950: '#000000',
},
}SCSS
$custom: #e4e8b2; $custom-light: #edefc9; $custom-dark: #000000;
JSON
{
"hex": "#e4e8b2",
"rgb": {
"r": 228,
"g": 232,
"b": 178
},
"hsl": {
"h": 64.444,
"s": 54,
"l": 80.392
},
"oklch": {
"l": 0.91468,
"c": 0.07042,
"h": 111.2
},
"luminance": 0.77422
}Semantic roles & 50–950 ramp
primary
#E4E8B2
secondary
#807BC3
accent
#24C130
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#161613
muted
#858582