#E2DB8A#E2DB8A

#E2DB8A is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 87.9% C 0.102 H 104.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#E2DB8A
RGBrgb(226, 219, 138)
HSLhsl(55, 60%, 71%)
HSVhsv(55, 39%, 89%)
CMYKcmyk(0%, 3.1%, 38.9%, 11.4%)
CIE-LABlab(86.34, -9.16, 40.67)
CIE-LCHlch(86.34, 41.69, 102.70°)
OKLaboklab(87.9% -0.0248 0.0994)
OKLCHoklch(87.9% 0.102 104)
XYZxyz(61.2840, 68.6683, 34.0658)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB8A #8A91E2
analogous
#E2AF8A #E2DB8A #BDE28A
triadic
#E2DB8A #8AE2DB #DB8AE2
tetradic
#E2DB8A #8AE2AF #8A91E2 #E28ABD
square
#E2DB8A #8AE2AF #8A91E2 #E28ABD
split-complementary
#E2DB8A #8ABDE2 #AF8AE2
monochromatic
#C2B630 #D6CC59 #E2DB8A #EEEABB #F9F7E6

Accessibility & contrast

On white

1.43
#E2DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#E2DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB8A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB8A#FFFFFF#000000##000000
##E2DB8A1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2db8a;
/* rgb */ color: rgb(226, 219, 138);
/* oklch */ color: oklch(87.9% 0.102 104.0);
Tailwind
colors: {
  custom: {
    50: '#ece6ad',
    500: '#e2db8a',
    950: '#000000',
  },
}
SCSS
$custom: #e2db8a;
$custom-light: #ece6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db8a",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 55.227,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87904,
    "c": 0.10242,
    "h": 104
  },
  "luminance": 0.68667
}

Semantic roles & 50–950 ramp

primary
#E2DB8A
secondary
#565EBA
accent
#2BC81E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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