#E4E996#E4E996

#E4E996 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.2% C 0.105 H 111.2°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#E4E996
RGBrgb(228, 233, 150)
HSLhsl(64, 65%, 75%)
HSVhsv(64, 36%, 91%)
CMYKcmyk(2.1%, 0%, 35.6%, 8.6%)
CIE-LABlab(90.31, -14.04, 39.82)
CIE-LCHlch(90.31, 42.22, 109.43°)
OKLaboklab(91.15% -0.0381 0.0979)
OKLCHoklch(91.15% 0.105 111.2)
XYZxyz(66.6394, 76.9748, 40.1954)
Luminance0.7697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E996 #9B96E9
analogous
#E9C496 #E4E996 #BBE996
triadic
#E4E996 #96E4E9 #E996E4
tetradic
#E4E996 #96E9C4 #9B96E9 #E996BB
square
#E4E996 #96E9C4 #9B96E9 #E996BB
split-complementary
#E4E996 #96BBE9 #C496E9
monochromatic
#CAD431 #D7DE63 #E4E996 #F1F4C9 #F8FAE6

Accessibility & contrast

On white

1.28
#E4E996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#E4E996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E996
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E996#FFFFFF#000000##000000
##E4E9961.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E290
Deuteranopia (green-blind)
#F5E59A
Tritanopia (blue-blind)
#EEE0D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e996;
/* rgb */ color: rgb(228, 233, 150);
/* oklch */ color: oklch(91.2% 0.105 111.2);
Tailwind
colors: {
  custom: {
    50: '#edf0b6',
    500: '#e4e996',
    950: '#000000',
  },
}
SCSS
$custom: #e4e996;
$custom-light: #edf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e996",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 150
  },
  "hsl": {
    "h": 63.614,
    "s": 65.354,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91153,
    "c": 0.10505,
    "h": 111.2
  },
  "luminance": 0.76974
}

Semantic roles & 50–950 ramp

primary
#E4E996
secondary
#6660C4
accent
#18CD23
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4E996

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

Preview Lab → · Contrast checker → · Palette generator →

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