#E9DC89#E9DC89

#E9DC89 is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.7% C 0.105 H 100.5°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#E9DC89
RGBrgb(233, 220, 137)
HSLhsl(52, 69%, 73%)
HSVhsv(52, 41%, 91%)
CMYKcmyk(0%, 5.6%, 41.2%, 8.6%)
CIE-LABlab(87.15, -7.03, 42.32)
CIE-LCHlch(87.15, 42.90, 99.43°)
OKLaboklab(88.68% -0.0191 0.103)
OKLCHoklch(88.68% 0.105 100.5)
XYZxyz(63.7142, 70.3181, 33.8786)
Luminance0.7032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC89 #8996E9
analogous
#E9AC89 #E9DC89 #C6E989
triadic
#E9DC89 #89E9DC #DC89E9
tetradic
#E9DC89 #89E9AC #8996E9 #E989C6
square
#E9DC89 #89E9AC #8996E9 #E989C6
split-complementary
#E9DC89 #89C6E9 #AC89E9
monochromatic
#D1BA27 #DFCD55 #E9DC89 #F3EBBD #FAF7E5

Accessibility & contrast

On white

1.39
#E9DC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#E9DC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC89
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC89#FFFFFF#000000##000000
##E9DC891.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD783
Deuteranopia (green-blind)
#EEDD8C
Tritanopia (blue-blind)
#F6D1C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e9dc89;
/* rgb */ color: rgb(233, 220, 137);
/* oklch */ color: oklch(88.7% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#f1e6ac',
    500: '#e9dc89',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc89;
$custom-light: #f1e6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc89",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 137
  },
  "hsl": {
    "h": 51.875,
    "s": 68.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.88681,
    "c": 0.10477,
    "h": 100.5
  },
  "luminance": 0.70316
}

Semantic roles & 50–950 ramp

primary
#E9DC89
secondary
#5363C3
accent
#2ED115
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E9DC89

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

Preview Lab → · Contrast checker → · Palette generator →

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