#E9DF8A#E9DF8A

#E9DF8A is a very light, moderate yellow. Relative luminance 0.719; OKLCH L 89.3% C 0.107 H 102.5°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#E9DF8A
RGBrgb(233, 223, 138)
HSLhsl(54, 68%, 73%)
HSVhsv(54, 41%, 91%)
CMYKcmyk(0%, 4.3%, 40.8%, 8.6%)
CIE-LABlab(87.94, -8.44, 42.82)
CIE-LCHlch(87.94, 43.65, 101.15°)
OKLaboklab(89.31% -0.023 0.1042)
OKLCHoklch(89.31% 0.107 102.5)
XYZxyz(64.5806, 71.9357, 34.5229)
Luminance0.7193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DF8A #8A94E9
analogous
#E9AF8A #E9DF8A #C4E98A
triadic
#E9DF8A #8AE9DF #DF8AE9
tetradic
#E9DF8A #8AE9AF #8A94E9 #E98AC4
square
#E9DF8A #8AE9AF #8A94E9 #E98AC4
split-complementary
#E9DF8A #8AC4E9 #AF8AE9
monochromatic
#D1BF27 #DFD156 #E9DF8A #F3EDBE #FAF8E5

Accessibility & contrast

On white

1.36
#E9DF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#E9DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DF8A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DF8A#FFFFFF#000000##000000
##E9DF8A1.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDA83
Deuteranopia (green-blind)
#F1DF8D
Tritanopia (blue-blind)
#F6D4CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e9df8a;
/* rgb */ color: rgb(233, 223, 138);
/* oklch */ color: oklch(89.3% 0.107 102.5);
Tailwind
colors: {
  custom: {
    50: '#f1e8ad',
    500: '#e9df8a',
    950: '#000000',
  },
}
SCSS
$custom: #e9df8a;
$custom-light: #f1e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e9df8a",
  "rgb": {
    "r": 233,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 53.684,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89308,
    "c": 0.10673,
    "h": 102.5
  },
  "luminance": 0.71934
}

Semantic roles & 50–950 ramp

primary
#E9DF8A
secondary
#5460C3
accent
#29D015
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E9DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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