#E1DF8A#E1DF8A

#E1DF8A is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.107 H 107.2°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#E1DF8A
RGBrgb(225, 223, 138)
HSLhsl(59, 59%, 71%)
HSVhsv(59, 39%, 88%)
CMYKcmyk(0%, 0.9%, 38.7%, 11.8%)
CIE-LABlab(87.30, -11.56, 41.88)
CIE-LCHlch(87.30, 43.45, 105.43°)
OKLaboklab(88.65% -0.0317 0.1021)
OKLCHoklch(88.65% 0.107 107.2)
XYZxyz(62.0274, 70.6192, 34.4032)
Luminance0.7062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF8A #8A8CE1
analogous
#E1B38A #E1DF8A #B7E18A
triadic
#E1DF8A #8AE1DF #DF8AE1
tetradic
#E1DF8A #8AE1B3 #8A8CE1 #E18AB7
square
#E1DF8A #8AE1B3 #8A8CE1 #E18AB7
split-complementary
#E1DF8A #8AB7E1 #B38AE1
monochromatic
#BFBC31 #D5D259 #E1DF8A #EDECBB #F9F8E7

Accessibility & contrast

On white

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

On black

15.12
#E1DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF8A
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF8A#FFFFFF#000000##000000
##E1DF8A1.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD984
Deuteranopia (green-blind)
#EEDC8E
Tritanopia (blue-blind)
#EDD5CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e1df8a;
/* rgb */ color: rgb(225, 223, 138);
/* oklch */ color: oklch(88.6% 0.107 107.2);
Tailwind
colors: {
  custom: {
    50: '#ece8ad',
    500: '#e1df8a',
    950: '#000000',
  },
}
SCSS
$custom: #e1df8a;
$custom-light: #ece8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df8a",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 58.621,
    "s": 59.184,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88647,
    "c": 0.10693,
    "h": 107.2
  },
  "luminance": 0.70618
}

Semantic roles & 50–950 ramp

primary
#E1DF8A
secondary
#5658B9
accent
#23C71F
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E1DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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