#E1DB97#E1DB97

#E1DB97 is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.0% C 0.088 H 103.8°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#E1DB97
RGBrgb(225, 219, 151)
HSLhsl(55, 55%, 74%)
HSVhsv(55, 33%, 88%)
CMYKcmyk(0%, 2.7%, 32.9%, 11.8%)
CIE-LABlab(86.46, -8.07, 34.24)
CIE-LCHlch(86.46, 35.18, 103.26°)
OKLaboklab(88.04% -0.0208 0.085)
OKLCHoklch(88.04% 0.088 103.8)
XYZxyz(61.9694, 68.9063, 39.3080)
Luminance0.6891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DB97 #979DE1
analogous
#E1B697 #E1DB97 #C2E197
triadic
#E1DB97 #97E1DB #DB97E1
tetradic
#E1DB97 #97E1B6 #979DE1 #E197C2
square
#E1DB97 #97E1B6 #979DE1 #E197C2
split-complementary
#E1DB97 #97C2E1 #B697E1
monochromatic
#C5B939 #D3CB67 #E1DB97 #EFEBC6 #F8F7E7

Accessibility & contrast

On white

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

On black

14.78
#E1DB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DB97
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DB97#FFFFFF#000000##000000
##E1DB971.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D692
Deuteranopia (green-blind)
#E9DA9A
Tritanopia (blue-blind)
#ECD2CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e1db97;
/* rgb */ color: rgb(225, 219, 151);
/* oklch */ color: oklch(88.0% 0.088 103.8);
Tailwind
colors: {
  custom: {
    50: '#ebe6b6',
    500: '#e1db97',
    950: '#000000',
  },
}
SCSS
$custom: #e1db97;
$custom-light: #ebe6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e1db97",
  "rgb": {
    "r": 225,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 55.135,
    "s": 55.224,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88043,
    "c": 0.08751,
    "h": 103.8
  },
  "luminance": 0.68905
}

Semantic roles & 50–950 ramp

primary
#E1DB97
secondary
#626ABA
accent
#30C323
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E1DB97

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

Preview Lab → · Contrast checker → · Palette generator →

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