#E2E796#E2E796

#E2E796 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.6% C 0.103 H 111.3°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#E2E796
RGBrgb(226, 231, 150)
HSLhsl(64, 63%, 75%)
HSVhsv(64, 35%, 91%)
CMYKcmyk(2.2%, 0%, 35.1%, 9.4%)
CIE-LABlab(89.64, -13.81, 38.92)
CIE-LCHlch(89.64, 41.30, 109.54°)
OKLaboklab(90.58% -0.0373 0.0959)
OKLCHoklch(90.58% 0.103 111.3)
XYZxyz(65.4454, 75.5235, 39.9781)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E796 #9B96E7
analogous
#E7C496 #E2E796 #B9E796
triadic
#E2E796 #96E2E7 #E796E2
tetradic
#E2E796 #96E7C4 #9B96E7 #E796B9
square
#E2E796 #96E7C4 #9B96E7 #E796B9
split-complementary
#E2E796 #96B9E7 #C496E7
monochromatic
#C6D032 #D4DC64 #E2E796 #F0F2C8 #F8F9E6

Accessibility & contrast

On white

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

On black

16.10
#E2E796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E796
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E796#FFFFFF#000000##000000
##E2E7961.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E090
Deuteranopia (green-blind)
#F3E399
Tritanopia (blue-blind)
#ECDED3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e796;
/* rgb */ color: rgb(226, 231, 150);
/* oklch */ color: oklch(90.6% 0.103 111.3);
Tailwind
colors: {
  custom: {
    50: '#eceeb6',
    500: '#e2e796',
    950: '#000000',
  },
}
SCSS
$custom: #e2e796;
$custom-light: #eceeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e796",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 150
  },
  "hsl": {
    "h": 63.704,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90581,
    "c": 0.10287,
    "h": 111.3
  },
  "luminance": 0.75523
}

Semantic roles & 50–950 ramp

primary
#E2E796
secondary
#6660C1
accent
#1BCB26
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2E796

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

Preview Lab → · Contrast checker → · Palette generator →

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