#E7DF91#E7DF91

#E7DF91 is a very light, moderate yellow. Relative luminance 0.718; OKLCH L 89.3% C 0.099 H 103.2°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#E7DF91
RGBrgb(231, 223, 145)
HSLhsl(54, 64%, 74%)
HSVhsv(54, 37%, 91%)
CMYKcmyk(0%, 3.5%, 37.2%, 9.4%)
CIE-LABlab(87.88, -8.47, 39.22)
CIE-LCHlch(87.88, 40.13, 102.18°)
OKLaboklab(89.25% -0.0225 0.0963)
OKLCHoklch(89.25% 0.099 103.2)
XYZxyz(64.4545, 71.8102, 37.2480)
Luminance0.7181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF91 #9199E7
analogous
#E7B491 #E7DF91 #C4E791
triadic
#E7DF91 #91E7DF #DF91E7
tetradic
#E7DF91 #91E7B4 #9199E7 #E791C4
square
#E7DF91 #91E7B4 #9199E7 #E791C4
split-complementary
#E7DF91 #91C4E7 #B491E7
monochromatic
#D0C12D #DCD05F #E7DF91 #F2EEC3 #FAF8E6

Accessibility & contrast

On white

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

On black

15.36
#E7DF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF91
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF91#FFFFFF#000000##000000
##E7DF911.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA8B
Deuteranopia (green-blind)
#EFDE94
Tritanopia (blue-blind)
#F3D5CB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7df91;
/* rgb */ color: rgb(231, 223, 145);
/* oklch */ color: oklch(89.3% 0.099 103.2);
Tailwind
colors: {
  custom: {
    50: '#f0e8b2',
    500: '#e7df91',
    950: '#000000',
  },
}
SCSS
$custom: #e7df91;
$custom-light: #f0e8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df91",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 145
  },
  "hsl": {
    "h": 54.419,
    "s": 64.179,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89254,
    "c": 0.09891,
    "h": 103.2
  },
  "luminance": 0.71809
}

Semantic roles & 50–950 ramp

primary
#E7DF91
secondary
#5B65C1
accent
#2ACC1A
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #E7DF91

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

Preview Lab → · Contrast checker → · Palette generator →

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