#E4DC97#E4DC97

#E4DC97 is a very light, moderate yellow. Relative luminance 0.699; OKLCH L 88.5% C 0.089 H 102.4°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#E4DC97
RGBrgb(228, 220, 151)
HSLhsl(54, 59%, 74%)
HSVhsv(54, 34%, 89%)
CMYKcmyk(0%, 3.5%, 33.8%, 10.6%)
CIE-LABlab(86.96, -7.42, 34.94)
CIE-LCHlch(86.96, 35.72, 101.99°)
OKLaboklab(88.5% -0.019 0.0866)
OKLCHoklch(88.5% 0.089 102.4)
XYZxyz(63.1748, 69.9162, 39.4394)
Luminance0.6992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC97 #979FE4
analogous
#E4B697 #E4DC97 #C6E497
triadic
#E4DC97 #97E4DC #DC97E4
tetradic
#E4DC97 #97E4B6 #979FE4 #E497C6
square
#E4DC97 #97E4B6 #979FE4 #E497C6
split-complementary
#E4DC97 #97C6E4 #B697E4
monochromatic
#CBBB36 #D7CC66 #E4DC97 #F1ECC8 #F9F7E7

Accessibility & contrast

On white

1.40
#E4DC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#E4DC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC97
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC97#FFFFFF#000000##000000
##E4DC971.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#EBDC9A
Tritanopia (blue-blind)
#EFD3CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e4dc97;
/* rgb */ color: rgb(228, 220, 151);
/* oklch */ color: oklch(88.5% 0.089 102.4);
Tailwind
colors: {
  custom: {
    50: '#ede6b6',
    500: '#e4dc97',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc97;
$custom-light: #ede6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc97",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 53.766,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.88496,
    "c": 0.0887,
    "h": 102.4
  },
  "luminance": 0.69915
}

Semantic roles & 50–950 ramp

primary
#E4DC97
secondary
#626BBD
accent
#30C61F
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E4DC97

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

Preview Lab → · Contrast checker → · Palette generator →

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