#E4E796#E4E796

#E4E796 is a very light, moderate yellow. Relative luminance 0.758; OKLCH L 90.7% C 0.103 H 110.1°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#E4E796
RGBrgb(228, 231, 150)
HSLhsl(62, 63%, 75%)
HSVhsv(62, 35%, 91%)
CMYKcmyk(1.3%, 0%, 35.1%, 9.4%)
CIE-LABlab(89.79, -13.05, 39.15)
CIE-LCHlch(89.79, 41.27, 108.44°)
OKLaboklab(90.74% -0.0352 0.0964)
OKLCHoklch(90.74% 0.103 110.1)
XYZxyz(66.0764, 75.8489, 40.0077)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E796 #9996E7
analogous
#E7C296 #E4E796 #BCE796
triadic
#E4E796 #96E4E7 #E796E4
tetradic
#E4E796 #96E7C2 #9996E7 #E796BC
square
#E4E796 #96E7C2 #9996E7 #E796BC
split-complementary
#E4E796 #96BCE7 #C296E7
monochromatic
#CAD032 #D7DC64 #E4E796 #F1F2C8 #F9F9E6

Accessibility & contrast

On white

1.30
#E4E796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#E4E796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E796
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E796#FFFFFF#000000##000000
##E4E7961.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E090
Deuteranopia (green-blind)
#F4E399
Tritanopia (blue-blind)
#EEDED3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e796;
/* rgb */ color: rgb(228, 231, 150);
/* oklch */ color: oklch(90.7% 0.103 110.1);
Tailwind
colors: {
  custom: {
    50: '#edeeb6',
    500: '#e4e796',
    950: '#000000',
  },
}
SCSS
$custom: #e4e796;
$custom-light: #edeeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e796",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 62.222,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90739,
    "c": 0.1026,
    "h": 110.1
  },
  "luminance": 0.75848
}

Semantic roles & 50–950 ramp

primary
#E4E796
secondary
#6460C1
accent
#1BCB21
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4E796

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

Preview Lab → · Contrast checker → · Palette generator →

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