#E1DC8A#E1DC8A

#E1DC8A is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.104 H 105.3°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#E1DC8A
RGBrgb(225, 220, 138)
HSLhsl(57, 59%, 71%)
HSVhsv(57, 39%, 88%)
CMYKcmyk(0%, 2.2%, 38.7%, 11.8%)
CIE-LABlab(86.52, -10.06, 40.89)
CIE-LCHlch(86.52, 42.11, 103.82°)
OKLaboklab(88.03% -0.0273 0.0999)
OKLCHoklch(88.03% 0.104 105.3)
XYZxyz(61.2329, 69.0304, 34.1384)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC8A #8A8FE1
analogous
#E1B08A #E1DC8A #BAE18A
triadic
#E1DC8A #8AE1DC #DC8AE1
tetradic
#E1DC8A #8AE1B0 #8A8FE1 #E18ABA
square
#E1DC8A #8AE1B0 #8A8FE1 #E18ABA
split-complementary
#E1DC8A #8ABAE1 #B08AE1
monochromatic
#BFB731 #D5CD59 #E1DC8A #EDEBBB #F9F8E7

Accessibility & contrast

On white

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

On black

14.81
#E1DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC8A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC8A#FFFFFF#000000##000000
##E1DC8A1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D684
Deuteranopia (green-blind)
#EBDA8D
Tritanopia (blue-blind)
#EDD2C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e1dc8a;
/* rgb */ color: rgb(225, 220, 138);
/* oklch */ color: oklch(88.0% 0.104 105.3);
Tailwind
colors: {
  custom: {
    50: '#ebe6ad',
    500: '#e1dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc8a;
$custom-light: #ebe6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc8a",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 56.552,
    "s": 59.184,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88027,
    "c": 0.10355,
    "h": 105.3
  },
  "luminance": 0.69029
}

Semantic roles & 50–950 ramp

primary
#E1DC8A
secondary
#565CB9
accent
#28C71F
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E1DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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