#E4DF97#E4DF97

#E4DF97 is a very light, moderate yellow. Relative luminance 0.715; OKLCH L 89.1% C 0.092 H 104.7°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#E4DF97
RGBrgb(228, 223, 151)
HSLhsl(56, 59%, 74%)
HSVhsv(56, 34%, 89%)
CMYKcmyk(0%, 2.2%, 33.8%, 10.6%)
CIE-LABlab(87.73, -8.94, 35.96)
CIE-LCHlch(87.73, 37.05, 103.96°)
OKLaboklab(89.11% -0.0234 0.089)
OKLCHoklch(89.11% 0.092 104.7)
XYZxyz(63.9692, 71.5051, 39.7042)
Luminance0.7150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF97 #979CE4
analogous
#E4B997 #E4DF97 #C3E497
triadic
#E4DF97 #97E4DF #DF97E4
tetradic
#E4DF97 #97E4B9 #979CE4 #E497C3
square
#E4DF97 #97E4B9 #979CE4 #E497C3
split-complementary
#E4DF97 #97C3E4 #B997E4
monochromatic
#CBC136 #D7D066 #E4DF97 #F1EEC8 #F9F8E7

Accessibility & contrast

On white

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

On black

15.30
#E4DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF97
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF97#FFFFFF#000000##000000
##E4DF971.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA92
Deuteranopia (green-blind)
#EDDE9A
Tritanopia (blue-blind)
#EFD6CD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4df97;
/* rgb */ color: rgb(228, 223, 151);
/* oklch */ color: oklch(89.1% 0.092 104.7);
Tailwind
colors: {
  custom: {
    50: '#ede8b6',
    500: '#e4df97',
    950: '#000000',
  },
}
SCSS
$custom: #e4df97;
$custom-light: #ede8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df97",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 56.104,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89109,
    "c": 0.09202,
    "h": 104.7
  },
  "luminance": 0.71504
}

Semantic roles & 50–950 ramp

primary
#E4DF97
secondary
#6268BD
accent
#2AC61F
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E4DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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