#E8D98D#E8D98D

#E8D98D is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.097 H 98.4°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#E8D98D
RGBrgb(232, 217, 141)
HSLhsl(50, 66%, 73%)
HSVhsv(50, 39%, 91%)
CMYKcmyk(0%, 6.5%, 39.2%, 9%)
CIE-LABlab(86.36, -5.48, 39.29)
CIE-LCHlch(86.36, 39.67, 97.94°)
OKLaboklab(88.05% -0.0142 0.0963)
OKLCHoklch(88.05% 0.097 98.4)
XYZxyz(62.9005, 68.7065, 35.1424)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D98D #8D9CE8
analogous
#E8AB8D #E8D98D #C9E88D
triadic
#E8D98D #8DE8D9 #D98DE8
tetradic
#E8D98D #8DE8AB #8D9CE8 #E88DC9
square
#E8D98D #8DE8AB #8D9CE8 #E88DC9
split-complementary
#E8D98D #8DC9E8 #AB8DE8
monochromatic
#D1B52A #DEC85A #E8D98D #F2EAC0 #FAF7E6

Accessibility & contrast

On white

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

On black

14.74
#E8D98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D98D
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D98D#FFFFFF#000000##000000
##E8D98D1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D587
Deuteranopia (green-blind)
#EBDB90
Tritanopia (blue-blind)
#F5CFC6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8d98d;
/* rgb */ color: rgb(232, 217, 141);
/* oklch */ color: oklch(88.1% 0.097 98.4);
Tailwind
colors: {
  custom: {
    50: '#f0e4af',
    500: '#e8d98d',
    950: '#000000',
  },
}
SCSS
$custom: #e8d98d;
$custom-light: #f0e4af;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d98d",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 50.11,
    "s": 66.423,
    "l": 73.137
  },
  "oklch": {
    "l": 0.88052,
    "c": 0.09734,
    "h": 98.4
  },
  "luminance": 0.68705
}

Semantic roles & 50–950 ramp

primary
#E8D98D
secondary
#5769C2
accent
#35CE17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E8D98D

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

Preview Lab → · Contrast checker → · Palette generator →

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