#E7DF8A#E7DF8A

#E7DF8A is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.1% C 0.107 H 103.7°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#E7DF8A
RGBrgb(231, 223, 138)
HSLhsl(55, 66%, 72%)
HSVhsv(55, 40%, 91%)
CMYKcmyk(0%, 3.5%, 40.3%, 9.4%)
CIE-LABlab(87.78, -9.22, 42.59)
CIE-LCHlch(87.78, 43.57, 102.22°)
OKLaboklab(89.14% -0.0252 0.1037)
OKLCHoklch(89.14% 0.107 103.7)
XYZxyz(63.9313, 71.6009, 34.4925)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF8A #8A92E7
analogous
#E7B18A #E7DF8A #C0E78A
triadic
#E7DF8A #8AE7DF #DF8AE7
tetradic
#E7DF8A #8AE7B1 #8A92E7 #E78AC0
square
#E7DF8A #8AE7B1 #8A92E7 #E78AC0
split-complementary
#E7DF8A #8AC0E7 #B18AE7
monochromatic
#CDBF2A #DDD157 #E7DF8A #F1EDBD #FAF8E6

Accessibility & contrast

On white

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

On black

15.32
#E7DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF8A
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF8A#FFFFFF#000000##000000
##E7DF8A1.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD983
Deuteranopia (green-blind)
#F0DE8E
Tritanopia (blue-blind)
#F4D4CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7df8a;
/* rgb */ color: rgb(231, 223, 138);
/* oklch */ color: oklch(89.1% 0.107 103.7);
Tailwind
colors: {
  custom: {
    50: '#f0e8ad',
    500: '#e7df8a',
    950: '#000000',
  },
}
SCSS
$custom: #e7df8a;
$custom-light: #f0e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df8a",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 54.839,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89141,
    "c": 0.1067,
    "h": 103.7
  },
  "luminance": 0.71599
}

Semantic roles & 50–950 ramp

primary
#E7DF8A
secondary
#555EC0
accent
#27CE18
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E7DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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