#E5D397#E5D397

#E5D397 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.080 H 93.4°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#E5D397
RGBrgb(229, 211, 151)
HSLhsl(46, 60%, 75%)
HSVhsv(46, 34%, 90%)
CMYKcmyk(0%, 7.9%, 34.1%, 10.2%)
CIE-LABlab(84.73, -2.44, 32.02)
CIE-LCHlch(84.73, 32.11, 94.36°)
OKLaboklab(86.76% -0.0047 0.0798)
OKLCHoklch(86.76% 0.08 93.4)
XYZxyz(61.1942, 65.4827, 38.6881)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D397 #97A9E5
analogous
#E5AC97 #E5D397 #D0E597
triadic
#E5D397 #97E5D3 #D397E5
tetradic
#E5D397 #97E5AC #97A9E5 #E597D0
square
#E5D397 #97E5AC #97A9E5 #E597D0
split-complementary
#E5D397 #97D0E5 #AC97E5
monochromatic
#CDAA35 #D9BE66 #E5D397 #F1E8C8 #F9F5E7

Accessibility & contrast

On white

1.49
#E5D397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#E5D397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D397
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D397#FFFFFF#000000##000000
##E5D3971.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD093
Deuteranopia (green-blind)
#E4D699
Tritanopia (blue-blind)
#F1CAC3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e5d397;
/* rgb */ color: rgb(229, 211, 151);
/* oklch */ color: oklch(86.8% 0.080 93.4);
Tailwind
colors: {
  custom: {
    50: '#eee0b6',
    500: '#e5d397',
    950: '#000000',
  },
}
SCSS
$custom: #e5d397;
$custom-light: #eee0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d397",
  "rgb": {
    "r": 229,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 46.154,
    "s": 60,
    "l": 74.51
  },
  "oklch": {
    "l": 0.86757,
    "c": 0.0799,
    "h": 93.4
  },
  "luminance": 0.65481
}

Semantic roles & 50–950 ramp

primary
#E5D397
secondary
#6277BF
accent
#45C81E
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E5D397

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

Preview Lab → · Contrast checker → · Palette generator →

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