#E2DB96#E2DB96

#E2DB96 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.1% C 0.089 H 103.1°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#E2DB96
RGBrgb(226, 219, 150)
HSLhsl(54, 57%, 74%)
HSVhsv(54, 34%, 89%)
CMYKcmyk(0%, 3.1%, 33.6%, 11.4%)
CIE-LABlab(86.52, -7.80, 34.85)
CIE-LCHlch(86.52, 35.71, 102.62°)
OKLaboklab(88.11% -0.0201 0.0864)
OKLCHoklch(88.11% 0.089 103.1)
XYZxyz(62.2013, 69.0352, 38.8967)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB96 #969DE2
analogous
#E2B596 #E2DB96 #C3E296
triadic
#E2DB96 #96E2DB #DB96E2
tetradic
#E2DB96 #96E2B5 #969DE2 #E296C3
square
#E2DB96 #96E2B5 #969DE2 #E296C3
split-complementary
#E2DB96 #96C3E2 #B596E2
monochromatic
#C7B937 #D5CB66 #E2DB96 #EFEBC6 #F8F7E7

Accessibility & contrast

On white

1.42
#E2DB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#E2DB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB96
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB96#FFFFFF#000000##000000
##E2DB961.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D691
Deuteranopia (green-blind)
#EADA99
Tritanopia (blue-blind)
#EDD2C9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2db96;
/* rgb */ color: rgb(226, 219, 150);
/* oklch */ color: oklch(88.1% 0.089 103.1);
Tailwind
colors: {
  custom: {
    50: '#ece6b5',
    500: '#e2db96',
    950: '#000000',
  },
}
SCSS
$custom: #e2db96;
$custom-light: #ece6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db96",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 150
  },
  "hsl": {
    "h": 54.474,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88108,
    "c": 0.0887,
    "h": 103.1
  },
  "luminance": 0.69034
}

Semantic roles & 50–950 ramp

primary
#E2DB96
secondary
#616ABB
accent
#30C421
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2DB96

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

Preview Lab → · Contrast checker → · Palette generator →

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