#E4E398#E4E398

#E4E398 is a very light, moderate yellow. Relative luminance 0.737; OKLCH L 89.9% C 0.095 H 107.5°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#E4E398
RGBrgb(228, 227, 152)
HSLhsl(59, 58%, 75%)
HSVhsv(59, 33%, 89%)
CMYKcmyk(0%, 0.4%, 33.3%, 10.6%)
CIE-LABlab(88.78, -10.83, 36.83)
CIE-LCHlch(88.78, 38.39, 106.38°)
OKLaboklab(89.95% -0.0287 0.0911)
OKLCHoklch(89.95% 0.095 107.5)
XYZxyz(65.1321, 73.7003, 40.4942)
Luminance0.7370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E398 #9899E4
analogous
#E4BD98 #E4E398 #BFE498
triadic
#E4E398 #98E4E3 #E398E4
tetradic
#E4E398 #98E4BD #9899E4 #E498BF
square
#E4E398 #98E4BD #9899E4 #E498BF
split-complementary
#E4E398 #98BFE4 #BD98E4
monochromatic
#CBC937 #D7D668 #E4E398 #F1F0C8 #F9F8E7

Accessibility & contrast

On white

1.33
#E4E398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#E4E398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E398
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E398#FFFFFF#000000##000000
##E4E3981.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD93
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#EEDAD0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e4e398;
/* rgb */ color: rgb(228, 227, 152);
/* oklch */ color: oklch(89.9% 0.095 107.5);
Tailwind
colors: {
  custom: {
    50: '#edebb7',
    500: '#e4e398',
    950: '#000000',
  },
}
SCSS
$custom: #e4e398;
$custom-light: #edebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e398",
  "rgb": {
    "r": 228,
    "g": 227,
    "b": 152
  },
  "hsl": {
    "h": 59.211,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89948,
    "c": 0.09549,
    "h": 107.5
  },
  "luminance": 0.73699
}

Semantic roles & 50–950 ramp

primary
#E4E398
secondary
#6364BD
accent
#22C61F
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E4E398

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E4E398 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva