#E2DB8D#E2DB8D

#E2DB8D is a very light, moderate yellow. Relative luminance 0.688; OKLCH L 88.0% C 0.099 H 103.8°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#E2DB8D
RGBrgb(226, 219, 141)
HSLhsl(55, 59%, 72%)
HSVhsv(55, 38%, 89%)
CMYKcmyk(0%, 3.1%, 37.6%, 11.4%)
CIE-LABlab(86.38, -8.83, 39.23)
CIE-LCHlch(86.38, 40.21, 102.69°)
OKLaboklab(87.95% -0.0237 0.0962)
OKLCHoklch(87.95% 0.099 103.8)
XYZxyz(61.5042, 68.7564, 35.2255)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB8D #8D94E2
analogous
#E2B18D #E2DB8D #BFE28D
triadic
#E2DB8D #8DE2DB #DB8DE2
tetradic
#E2DB8D #8DE2B1 #8D94E2 #E28DBF
square
#E2DB8D #8DE2B1 #8D94E2 #E28DBF
split-complementary
#E2DB8D #8DBFE2 #B18DE2
monochromatic
#C3B732 #D6CC5C #E2DB8D #EEEABE #F9F7E7

Accessibility & contrast

On white

1.42
#E2DB8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#E2DB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB8D
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB8D#FFFFFF#000000##000000
##E2DB8D1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D687
Deuteranopia (green-blind)
#EBDA90
Tritanopia (blue-blind)
#EED1C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2db8d;
/* rgb */ color: rgb(226, 219, 141);
/* oklch */ color: oklch(88.0% 0.099 103.8);
Tailwind
colors: {
  custom: {
    50: '#ece6af',
    500: '#e2db8d',
    950: '#000000',
  },
}
SCSS
$custom: #e2db8d;
$custom-light: #ece6af;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db8d",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 141
  },
  "hsl": {
    "h": 55.059,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.87953,
    "c": 0.09906,
    "h": 103.8
  },
  "luminance": 0.68755
}

Semantic roles & 50–950 ramp

primary
#E2DB8D
secondary
#5961BA
accent
#2CC71E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2DB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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