#E2DFAB#E2DFAB

#E2DFAB is a very light, moderate yellow. Relative luminance 0.719; OKLCH L 89.3% C 0.068 H 104.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#E2DFAB
RGBrgb(226, 223, 171)
HSLhsl(57, 49%, 78%)
HSVhsv(57, 24%, 89%)
CMYKcmyk(0%, 1.3%, 24.3%, 11.4%)
CIE-LABlab(87.91, -7.16, 25.93)
CIE-LCHlch(87.91, 26.90, 105.43°)
OKLaboklab(89.33% -0.0175 0.0656)
OKLCHoklch(89.33% 0.068 104.9)
XYZxyz(65.1024, 71.8854, 48.9659)
Luminance0.7188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DFAB #ABAEE2
analogous
#E2C3AB #E2DFAB #C9E2AB
triadic
#E2DFAB #ABE2DF #DFABE2
tetradic
#E2DFAB #ABE2C3 #ABAEE2 #E2ABC9
square
#E2DFAB #ABE2C3 #ABAEE2 #E2ABC9
split-complementary
#E2DFAB #ABC9E2 #C3ABE2
monochromatic
#C3BC50 #D2CE7E #E2DFAB #F2F0D8 #F7F6E8

Accessibility & contrast

On white

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

On black

15.38
#E2DFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DFAB
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DFAB#FFFFFF#000000##000000
##E2DFAB1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8DBA8
Deuteranopia (green-blind)
#EADEAD
Tritanopia (blue-blind)
#EAD8D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2dfab;
/* rgb */ color: rgb(226, 223, 171);
/* oklch */ color: oklch(89.3% 0.068 104.9);
Tailwind
colors: {
  custom: {
    50: '#ebe8c4',
    500: '#e2dfab',
    950: '#000000',
  },
}
SCSS
$custom: #e2dfab;
$custom-light: #ebe8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dfab",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 171
  },
  "hsl": {
    "h": 56.727,
    "s": 48.673,
    "l": 77.843
  },
  "oklch": {
    "l": 0.89328,
    "c": 0.06793,
    "h": 104.9
  },
  "luminance": 0.71884
}

Semantic roles & 50–950 ramp

primary
#E2DFAB
secondary
#767ABB
accent
#32BC2A
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161612
muted
#848482

Preview Lab

Preview with #E2DFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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