#E2EB96#E2EB96

#E2EB96 is a very light, moderate yellow. Relative luminance 0.778; OKLCH L 91.4% C 0.108 H 113.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#E2EB96
RGBrgb(226, 235, 150)
HSLhsl(66, 68%, 75%)
HSVhsv(66, 36%, 92%)
CMYKcmyk(3.8%, 0%, 36.2%, 7.8%)
CIE-LABlab(90.68, -15.79, 40.27)
CIE-LCHlch(90.68, 43.26, 111.41°)
OKLaboklab(91.41% -0.043 0.099)
OKLCHoklch(91.41% 0.108 113.5)
XYZxyz(66.5778, 77.7882, 40.3556)
Luminance0.7779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EB96 #9F96EB
analogous
#EBC996 #E2EB96 #B7EB96
triadic
#E2EB96 #96E2EB #EB96E2
tetradic
#E2EB96 #96EBC9 #9F96EB #EB96B7
square
#E2EB96 #96EBC9 #9F96EB #EB96B7
split-complementary
#E2EB96 #96B7EB #C996EB
monochromatic
#C6D72F #D4E163 #E2EB96 #F0F5C9 #F8FAE5

Accessibility & contrast

On white

1.27
#E2EB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#E2EB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EB96
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EB96#FFFFFF#000000##000000
##E2EB961.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E390
Deuteranopia (green-blind)
#F6E59A
Tritanopia (blue-blind)
#ECE2D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e2eb96;
/* rgb */ color: rgb(226, 235, 150);
/* oklch */ color: oklch(91.4% 0.108 113.5);
Tailwind
colors: {
  custom: {
    50: '#ecf1b6',
    500: '#e2eb96',
    950: '#000000',
  },
}
SCSS
$custom: #e2eb96;
$custom-light: #ecf1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2eb96",
  "rgb": {
    "r": 226,
    "g": 235,
    "b": 150
  },
  "hsl": {
    "h": 66.353,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91413,
    "c": 0.1079,
    "h": 113.5
  },
  "luminance": 0.77787
}

Semantic roles & 50–950 ramp

primary
#E2EB96
secondary
#6A5FC6
accent
#16D029
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2EB96

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

Preview Lab → · Contrast checker → · Palette generator →

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