#E4E397#E4E397

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

Color values

HEX#E4E397
RGBrgb(228, 227, 151)
HSLhsl(59, 59%, 74%)
HSVhsv(59, 34%, 89%)
CMYKcmyk(0%, 0.4%, 33.8%, 10.6%)
CIE-LABlab(88.77, -10.94, 37.31)
CIE-LCHlch(88.77, 38.88, 106.35°)
OKLaboklab(89.93% -0.0291 0.0922)
OKLCHoklch(89.93% 0.097 107.5)
XYZxyz(65.0505, 73.6677, 40.0647)
Luminance0.7367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E397 #9798E4
analogous
#E4BD97 #E4E397 #BFE497
triadic
#E4E397 #97E4E3 #E397E4
tetradic
#E4E397 #97E4BD #9798E4 #E497BF
square
#E4E397 #97E4BD #9798E4 #E497BF
split-complementary
#E4E397 #97BFE4 #BD97E4
monochromatic
#CBC936 #D7D666 #E4E397 #F1F0C8 #F9F8E7

Accessibility & contrast

On white

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

On black

15.73
#E4E397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E397
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E397#FFFFFF#000000##000000
##E4E3971.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD92
Deuteranopia (green-blind)
#F1E09A
Tritanopia (blue-blind)
#EFDAD0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e4e397;
/* rgb */ color: rgb(228, 227, 151);
/* oklch */ color: oklch(89.9% 0.097 107.5);
Tailwind
colors: {
  custom: {
    50: '#edebb6',
    500: '#e4e397',
    950: '#000000',
  },
}
SCSS
$custom: #e4e397;
$custom-light: #edebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e397",
  "rgb": {
    "r": 228,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 59.221,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8993,
    "c": 0.09665,
    "h": 107.5
  },
  "luminance": 0.73667
}

Semantic roles & 50–950 ramp

primary
#E4E397
secondary
#6263BD
accent
#21C61F
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E4E397

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

Preview Lab → · Contrast checker → · Palette generator →

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