#E1DC98#E1DC98

#E1DC98 is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.3% C 0.087 H 104.5°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#E1DC98
RGBrgb(225, 220, 152)
HSLhsl(56, 55%, 74%)
HSVhsv(56, 32%, 88%)
CMYKcmyk(0%, 2.2%, 32.4%, 11.8%)
CIE-LABlab(86.73, -8.45, 34.09)
CIE-LCHlch(86.73, 35.13, 103.92°)
OKLaboklab(88.27% -0.0219 0.0847)
OKLCHoklch(88.27% 0.087 104.5)
XYZxyz(62.3126, 69.4622, 39.8247)
Luminance0.6946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC98 #989DE1
analogous
#E1B898 #E1DC98 #C2E198
triadic
#E1DC98 #98E1DC #DC98E1
tetradic
#E1DC98 #98E1B8 #989DE1 #E198C2
square
#E1DC98 #98E1B8 #989DE1 #E198C2
split-complementary
#E1DC98 #98C2E1 #B898E1
monochromatic
#C5BC39 #D3CC69 #E1DC98 #EFECC7 #F8F7E7

Accessibility & contrast

On white

1.41
#E1DC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#E1DC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC98
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC98#FFFFFF#000000##000000
##E1DC981.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D793
Deuteranopia (green-blind)
#EADB9B
Tritanopia (blue-blind)
#EBD3CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e1dc98;
/* rgb */ color: rgb(225, 220, 152);
/* oklch */ color: oklch(88.3% 0.087 104.5);
Tailwind
colors: {
  custom: {
    50: '#ebe6b7',
    500: '#e1dc98',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc98;
$custom-light: #ebe6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc98",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 55.89,
    "s": 54.887,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88266,
    "c": 0.08747,
    "h": 104.5
  },
  "luminance": 0.69461
}

Semantic roles & 50–950 ramp

primary
#E1DC98
secondary
#6369BA
accent
#2EC223
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E1DC98

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

Preview Lab → · Contrast checker → · Palette generator →

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