#E2E896#E2E896

#E2E896 is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 90.8% C 0.104 H 111.9°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#E2E896
RGBrgb(226, 232, 150)
HSLhsl(64, 64%, 75%)
HSVhsv(64, 35%, 91%)
CMYKcmyk(2.6%, 0%, 35.3%, 9%)
CIE-LABlab(89.90, -14.31, 39.26)
CIE-LCHlch(89.90, 41.79, 110.03°)
OKLaboklab(90.79% -0.0388 0.0966)
OKLCHoklch(90.79% 0.104 111.9)
XYZxyz(65.7261, 76.0849, 40.0717)
Luminance0.7608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E896 #9C96E8
analogous
#E8C596 #E2E896 #B9E896
triadic
#E2E896 #96E2E8 #E896E2
tetradic
#E2E896 #96E8C5 #9C96E8 #E896B9
square
#E2E896 #96E8C5 #9C96E8 #E896B9
split-complementary
#E2E896 #96B9E8 #C596E8
monochromatic
#C6D232 #D4DD64 #E2E896 #F0F3C8 #F8FAE6

Accessibility & contrast

On white

1.29
#E2E896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#E2E896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E896
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E896#FFFFFF#000000##000000
##E2E8961.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E190
Deuteranopia (green-blind)
#F4E39A
Tritanopia (blue-blind)
#ECDFD3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e2e896;
/* rgb */ color: rgb(226, 232, 150);
/* oklch */ color: oklch(90.8% 0.104 111.9);
Tailwind
colors: {
  custom: {
    50: '#ecefb6',
    500: '#e2e896',
    950: '#000000',
  },
}
SCSS
$custom: #e2e896;
$custom-light: #ecefb6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e896",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 150
  },
  "hsl": {
    "h": 64.39,
    "s": 64.062,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90789,
    "c": 0.10411,
    "h": 111.9
  },
  "luminance": 0.76084
}

Semantic roles & 50–950 ramp

primary
#E2E896
secondary
#6760C2
accent
#1ACC27
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2E896

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

Preview Lab → · Contrast checker → · Palette generator →

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