#E1DF97#E1DF97

#E1DF97 is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 88.9% C 0.092 H 106.8°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#E1DF97
RGBrgb(225, 223, 151)
HSLhsl(58, 55%, 74%)
HSVhsv(58, 33%, 88%)
CMYKcmyk(0%, 0.9%, 32.9%, 11.8%)
CIE-LABlab(87.49, -10.09, 35.61)
CIE-LCHlch(87.49, 37.01, 105.81°)
OKLaboklab(88.86% -0.0266 0.0882)
OKLCHoklch(88.86% 0.092 106.8)
XYZxyz(63.0255, 71.0185, 39.6600)
Luminance0.7102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF97 #9799E1
analogous
#E1BA97 #E1DF97 #BEE197
triadic
#E1DF97 #97E1DF #DF97E1
tetradic
#E1DF97 #97E1BA #9799E1 #E197BE
square
#E1DF97 #97E1BA #9799E1 #E197BE
split-complementary
#E1DF97 #97BEE1 #BA97E1
monochromatic
#C5C139 #D3D067 #E1DF97 #EFEEC6 #F8F8E7

Accessibility & contrast

On white

1.38
#E1DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#E1DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF97
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF97#FFFFFF#000000##000000
##E1DF971.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD992
Deuteranopia (green-blind)
#ECDD9A
Tritanopia (blue-blind)
#EBD6CD
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e1df97;
/* rgb */ color: rgb(225, 223, 151);
/* oklch */ color: oklch(88.9% 0.092 106.8);
Tailwind
colors: {
  custom: {
    50: '#ebe8b6',
    500: '#e1df97',
    950: '#000000',
  },
}
SCSS
$custom: #e1df97;
$custom-light: #ebe8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df97",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 58.378,
    "s": 55.224,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88864,
    "c": 0.09211,
    "h": 106.8
  },
  "luminance": 0.71017
}

Semantic roles & 50–950 ramp

primary
#E1DF97
secondary
#6265BA
accent
#27C323
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E1DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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