#E8D397#E8D397

#E8D397 is a very light, moderate orange. Relative luminance 0.660; OKLCH L 87.0% C 0.081 H 91.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E8D397
RGBrgb(232, 211, 151)
HSLhsl(44, 64%, 75%)
HSVhsv(44, 35%, 91%)
CMYKcmyk(0%, 9.1%, 34.9%, 9%)
CIE-LABlab(84.99, -1.28, 32.40)
CIE-LCHlch(84.99, 32.43, 92.27°)
OKLaboklab(87.02% -0.0014 0.0807)
OKLCHoklch(87.02% 0.081 91)
XYZxyz(62.1600, 65.9807, 38.7333)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D397 #97ACE8
analogous
#E8AA97 #E8D397 #D5E897
triadic
#E8D397 #97E8D3 #D397E8
tetradic
#E8D397 #97E8AA #97ACE8 #E897D5
square
#E8D397 #97E8AA #97ACE8 #E897D5
split-complementary
#E8D397 #97D5E8 #AA97E8
monochromatic
#D2A933 #DDBE65 #E8D397 #F3E8C9 #F9F4E6

Accessibility & contrast

On white

1.48
#E8D397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#E8D397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D397
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D397#FFFFFF#000000##000000
##E8D3971.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D193
Deuteranopia (green-blind)
#E5D799
Tritanopia (blue-blind)
#F4CAC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d397;
/* rgb */ color: rgb(232, 211, 151);
/* oklch */ color: oklch(87.0% 0.081 91.0);
Tailwind
colors: {
  custom: {
    50: '#f0e0b6',
    500: '#e8d397',
    950: '#000000',
  },
}
SCSS
$custom: #e8d397;
$custom-light: #f0e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d397",
  "rgb": {
    "r": 232,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 44.444,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.87019,
    "c": 0.08066,
    "h": 91
  },
  "luminance": 0.65979
}

Semantic roles & 50–950 ramp

primary
#E8D397
secondary
#617AC2
accent
#48CC1A
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #E8D397

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

Preview Lab → · Contrast checker → · Palette generator →

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