#E2D397#E2D397

#E2D397 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.5% C 0.079 H 95.8°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#E2D397
RGBrgb(226, 211, 151)
HSLhsl(48, 56%, 74%)
HSVhsv(48, 33%, 89%)
CMYKcmyk(0%, 6.6%, 33.2%, 11.4%)
CIE-LABlab(84.48, -3.60, 31.64)
CIE-LCHlch(84.48, 31.84, 96.50°)
OKLaboklab(86.5% -0.008 0.0789)
OKLCHoklch(86.5% 0.079 95.8)
XYZxyz(60.2450, 64.9933, 38.6436)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D397 #97A6E2
analogous
#E2AE97 #E2D397 #CCE297
triadic
#E2D397 #97E2D3 #D397E2
tetradic
#E2D397 #97E2AE #97A6E2 #E297CC
square
#E2D397 #97E2AE #97A6E2 #E297CC
split-complementary
#E2D397 #97CCE2 #AE97E2
monochromatic
#C7AA38 #D5BF67 #E2D397 #EFE7C7 #F8F5E7

Accessibility & contrast

On white

1.50
#E2D397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#E2D397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D397
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D397#FFFFFF#000000##000000
##E2D3971.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d397;
/* rgb */ color: rgb(226, 211, 151);
/* oklch */ color: oklch(86.5% 0.079 95.8);
Tailwind
colors: {
  custom: {
    50: '#ece0b6',
    500: '#e2d397',
    950: '#000000',
  },
}
SCSS
$custom: #e2d397;
$custom-light: #ece0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d397",
  "rgb": {
    "r": 226,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 48,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.86498,
    "c": 0.07928,
    "h": 95.8
  },
  "luminance": 0.64992
}

Semantic roles & 50–950 ramp

primary
#E2D397
secondary
#6274BB
accent
#42C422
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D397

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

Preview Lab → · Contrast checker → · Palette generator →

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