#E8DF89#E8DF89

#E8DF89 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.2% C 0.108 H 103.1°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#E8DF89
RGBrgb(232, 223, 137)
HSLhsl(54, 67%, 72%)
HSVhsv(54, 41%, 91%)
CMYKcmyk(0%, 3.9%, 40.9%, 9%)
CIE-LABlab(87.84, -8.94, 43.18)
CIE-LCHlch(87.84, 44.10, 101.69°)
OKLaboklab(89.21% -0.0245 0.105)
OKLCHoklch(89.21% 0.108 103.1)
XYZxyz(64.1830, 71.7390, 34.1281)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF89 #8992E8
analogous
#E8B089 #E8DF89 #C1E889
triadic
#E8DF89 #89E8DF #DF89E8
tetradic
#E8DF89 #89E8B0 #8992E8 #E889C1
square
#E8DF89 #89E8B0 #8992E8 #E889C1
split-complementary
#E8DF89 #89C1E8 #B089E8
monochromatic
#CEBF28 #DED156 #E8DF89 #F2EDBC #FAF8E5

Accessibility & contrast

On white

1.37
#E8DF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#E8DF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF89
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF89#FFFFFF#000000##000000
##E8DF891.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD982
Deuteranopia (green-blind)
#F0DE8D
Tritanopia (blue-blind)
#F5D4CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8df89;
/* rgb */ color: rgb(232, 223, 137);
/* oklch */ color: oklch(89.2% 0.108 103.1);
Tailwind
colors: {
  custom: {
    50: '#f1e8ac',
    500: '#e8df89',
    950: '#000000',
  },
}
SCSS
$custom: #e8df89;
$custom-light: #f1e8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df89",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 137
  },
  "hsl": {
    "h": 54.316,
    "s": 67.376,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89209,
    "c": 0.1078,
    "h": 103.1
  },
  "luminance": 0.71737
}

Semantic roles & 50–950 ramp

primary
#E8DF89
secondary
#545EC1
accent
#28CF16
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E8DF89

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

Preview Lab → · Contrast checker → · Palette generator →

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