#E2E296#E2E296

#E2E296 is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.5% C 0.097 H 108.2°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#E2E296
RGBrgb(226, 226, 150)
HSLhsl(60, 57%, 74%)
HSVhsv(60, 34%, 89%)
CMYKcmyk(0%, 0%, 33.6%, 11.4%)
CIE-LABlab(88.34, -11.33, 37.23)
CIE-LCHlch(88.34, 38.91, 106.92°)
OKLaboklab(89.55% -0.0302 0.0919)
OKLCHoklch(89.55% 0.097 108.2)
XYZxyz(64.0660, 72.7646, 39.5183)
Luminance0.7276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E296 #9696E2
analogous
#E2BC96 #E2E296 #BCE296
triadic
#E2E296 #96E2E2 #E296E2
tetradic
#E2E296 #96E2BC #9696E2 #E296BC
square
#E2E296 #96E2BC #9696E2 #E296BC
split-complementary
#E2E296 #96BCE2 #BC96E2
monochromatic
#C7C737 #D5D566 #E2E296 #EFEFC6 #F8F8E7

Accessibility & contrast

On white

1.35
#E2E296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#E2E296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E296
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E296#FFFFFF#000000##000000
##E2E2961.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC91
Deuteranopia (green-blind)
#EFDF99
Tritanopia (blue-blind)
#ECD9CF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e296;
/* rgb */ color: rgb(226, 226, 150);
/* oklch */ color: oklch(89.5% 0.097 108.2);
Tailwind
colors: {
  custom: {
    50: '#ecebb5',
    500: '#e2e296',
    950: '#000000',
  },
}
SCSS
$custom: #e2e296;
$custom-light: #ecebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e296",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89546,
    "c": 0.09676,
    "h": 108.2
  },
  "luminance": 0.72763
}

Semantic roles & 50–950 ramp

primary
#E2E296
secondary
#6161BB
accent
#21C421
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2E296

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

Preview Lab → · Contrast checker → · Palette generator →

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