#E8DF97#E8DF97

#E8DF97 is a very light, moderate yellow. Relative luminance 0.722; OKLCH L 89.4% C 0.092 H 102.0°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#E8DF97
RGBrgb(232, 223, 151)
HSLhsl(53, 64%, 75%)
HSVhsv(53, 35%, 91%)
CMYKcmyk(0%, 3.9%, 34.9%, 9%)
CIE-LABlab(88.05, -7.40, 36.44)
CIE-LCHlch(88.05, 37.18, 101.48°)
OKLaboklab(89.44% -0.0191 0.0901)
OKLCHoklch(89.44% 0.092 102)
XYZxyz(65.2532, 72.1671, 39.7644)
Luminance0.7217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF97 #97A0E8
analogous
#E8B697 #E8DF97 #C9E897
triadic
#E8DF97 #97E8DF #DF97E8
tetradic
#E8DF97 #97E8B6 #97A0E8 #E897C9
square
#E8DF97 #97E8B6 #97A0E8 #E897C9
split-complementary
#E8DF97 #97C9E8 #B697E8
monochromatic
#D2C033 #DDD065 #E8DF97 #F3EEC9 #F9F7E6

Accessibility & contrast

On white

1.36
#E8DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#E8DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF97
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF97#FFFFFF#000000##000000
##E8DF971.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA92
Deuteranopia (green-blind)
#EFDF9A
Tritanopia (blue-blind)
#F4D6CD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e8df97;
/* rgb */ color: rgb(232, 223, 151);
/* oklch */ color: oklch(89.4% 0.092 102.0);
Tailwind
colors: {
  custom: {
    50: '#f0e8b6',
    500: '#e8df97',
    950: '#000000',
  },
}
SCSS
$custom: #e8df97;
$custom-light: #f0e8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df97",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 53.333,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.89439,
    "c": 0.09209,
    "h": 102
  },
  "luminance": 0.72166
}

Semantic roles & 50–950 ramp

primary
#E8DF97
secondary
#616CC2
accent
#2ECC1A
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #E8DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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