#E4E298#E4E298
#E4E298 is a very light, moderate yellow. Relative luminance 0.732; OKLCH L 89.7% C 0.094 H 106.8°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E298 |
|---|---|
| RGB | rgb(228, 226, 152) |
| HSL | hsl(58, 58%, 75%) |
| HSV | hsv(58, 33%, 89%) |
| CMYK | cmyk(0%, 0.9%, 33.3%, 10.6%) |
| CIE-LAB | lab(88.52, -10.33, 36.49) |
| CIE-LCH | lch(88.52, 37.92, 105.80°) |
| OKLab | oklab(89.74% -0.0273 0.0903) |
| OKLCH | oklch(89.74% 0.094 106.8) |
| XYZ | xyz(64.8594, 73.1549, 40.4033) |
| Luminance | 0.7315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 3.08
Khaki (CSS)
#F0E68C
ΔE00 3.70
Light Khaki
#E6F2A2
ΔE00 4.61
Light Tan
#FBEEAC
ΔE00 4.75
Vanilla
#F3E5AB
ΔE00 5.02
Buff
#FEF69E
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E298 #989AE4
analogous
#E4BC98 #E4E298 #C0E498
triadic
#E4E298 #98E4E2 #E298E4
tetradic
#E4E298 #98E4BC #989AE4 #E498C0
square
#E4E298 #98E4BC #989AE4 #E498C0
split-complementary
#E4E298 #98C0E4 #BC98E4
monochromatic
#CBC737 #D7D468 #E4E298 #F1F0C8 #F9F8E7
Accessibility & contrast
On white
1.34
#E4E298 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.63
#E4E298 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E298
15.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E298 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E298 | 1.00 | 1.34 | 15.63 | 15.63 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EEDC93
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#EFD9CF
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #e4e298; /* rgb */ color: rgb(228, 226, 152); /* oklch */ color: oklch(89.7% 0.094 106.8);
Tailwind
colors: {
custom: {
50: '#edebb7',
500: '#e4e298',
950: '#000000',
},
}SCSS
$custom: #e4e298; $custom-light: #edebb7; $custom-dark: #000000;
JSON
{
"hex": "#e4e298",
"rgb": {
"r": 228,
"g": 226,
"b": 152
},
"hsl": {
"h": 58.421,
"s": 58.462,
"l": 74.51
},
"oklch": {
"l": 0.89742,
"c": 0.09431,
"h": 106.8
},
"luminance": 0.73154
}Semantic roles & 50–950 ramp
primary
#E4E298
secondary
#6365BD
accent
#24C61F
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#161611
muted
#858481