#E7DB8A#E7DB8A

#E7DB8A is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.3% C 0.103 H 100.9°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#E7DB8A
RGBrgb(231, 219, 138)
HSLhsl(52, 66%, 72%)
HSVhsv(52, 40%, 91%)
CMYKcmyk(0%, 5.2%, 40.3%, 9.4%)
CIE-LABlab(86.75, -7.21, 41.27)
CIE-LCHlch(86.75, 41.90, 99.90°)
OKLaboklab(88.32% -0.0194 0.1007)
OKLCHoklch(88.32% 0.103 100.9)
XYZxyz(62.8752, 69.4887, 34.1404)
Luminance0.6949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB8A #8A96E7
analogous
#E7AD8A #E7DB8A #C5E78A
triadic
#E7DB8A #8AE7DB #DB8AE7
tetradic
#E7DB8A #8AE7AD #8A96E7 #E78AC5
square
#E7DB8A #8AE7AD #8A96E7 #E78AC5
split-complementary
#E7DB8A #8AC5E7 #AD8AE7
monochromatic
#CDB82A #DDCB57 #E7DB8A #F1EBBD #FAF7E6

Accessibility & contrast

On white

1.41
#E7DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#E7DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB8A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB8A#FFFFFF#000000##000000
##E7DB8A1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D684
Deuteranopia (green-blind)
#EDDC8D
Tritanopia (blue-blind)
#F4D1C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7db8a;
/* rgb */ color: rgb(231, 219, 138);
/* oklch */ color: oklch(88.3% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#f0e6ad',
    500: '#e7db8a',
    950: '#000000',
  },
}
SCSS
$custom: #e7db8a;
$custom-light: #f0e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db8a",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 52.258,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88324,
    "c": 0.10255,
    "h": 100.9
  },
  "luminance": 0.69487
}

Semantic roles & 50–950 ramp

primary
#E7DB8A
secondary
#5563C0
accent
#2FCE18
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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