#E2DFAC#E2DFAC

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

Color values

HEX#E2DFAC
RGBrgb(226, 223, 172)
HSLhsl(57, 48%, 78%)
HSVhsv(57, 24%, 89%)
CMYKcmyk(0%, 1.3%, 23.9%, 11.4%)
CIE-LABlab(87.93, -7.02, 25.44)
CIE-LCHlch(87.93, 26.39, 105.42°)
OKLaboklab(89.35% -0.0171 0.0645)
OKLCHoklch(89.35% 0.067 104.9)
XYZxyz(65.1980, 71.9236, 49.4698)
Luminance0.7192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DFAC #ACAFE2
analogous
#E2C4AC #E2DFAC #CAE2AC
triadic
#E2DFAC #ACE2DF #DFACE2
tetradic
#E2DFAC #ACE2C4 #ACAFE2 #E2ACCA
square
#E2DFAC #ACE2C4 #ACAFE2 #E2ACCA
split-complementary
#E2DFAC #ACCAE2 #C4ACE2
monochromatic
#C2BC51 #D2CE7F #E2DFAC #F2F0D9 #F7F6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DFAC#FFFFFF#000000##000000
##E2DFAC1.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)
#E8DBA9
Deuteranopia (green-blind)
#EADEAE
Tritanopia (blue-blind)
#EAD8D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2dfac;
/* rgb */ color: rgb(226, 223, 172);
/* oklch */ color: oklch(89.3% 0.067 104.9);
Tailwind
colors: {
  custom: {
    50: '#ebe8c5',
    500: '#e2dfac',
    950: '#000000',
  },
}
SCSS
$custom: #e2dfac;
$custom-light: #ebe8c5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dfac",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 172
  },
  "hsl": {
    "h": 56.667,
    "s": 48.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.89348,
    "c": 0.06669,
    "h": 104.9
  },
  "luminance": 0.71923
}

Semantic roles & 50–950 ramp

primary
#E2DFAC
secondary
#777BBB
accent
#32BB2A
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161612
muted
#848482

Preview Lab

Preview with #E2DFAC

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

Preview Lab → · Contrast checker → · Palette generator →

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