#E2DFA2#E2DFA2

#E2DFA2 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.1% C 0.079 H 105.5°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#E2DFA2
RGBrgb(226, 223, 162)
HSLhsl(57, 52%, 76%)
HSVhsv(57, 28%, 89%)
CMYKcmyk(0%, 1.3%, 28.3%, 11.4%)
CIE-LABlab(87.75, -8.34, 30.35)
CIE-LCHlch(87.75, 31.48, 105.37°)
OKLaboklab(89.15% -0.0211 0.0761)
OKLCHoklch(89.15% 0.079 105.5)
XYZxyz(64.2736, 71.5539, 44.6008)
Luminance0.7155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DFA2 #A2A5E2
analogous
#E2BFA2 #E2DFA2 #C5E2A2
triadic
#E2DFA2 #A2E2DF #DFA2E2
tetradic
#E2DFA2 #A2E2BF #A2A5E2 #E2A2C5
square
#E2DFA2 #A2E2BF #A2A5E2 #E2A2C5
split-complementary
#E2DFA2 #A2C5E2 #BFA2E2
monochromatic
#C5BF45 #D3CF73 #E2DFA2 #F1EFD1 #F8F7E8

Accessibility & contrast

On white

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

On black

15.31
#E2DFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DFA2
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DFA2#FFFFFF#000000##000000
##E2DFA21.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9DA9E
Deuteranopia (green-blind)
#EBDDA4
Tritanopia (blue-blind)
#EBD7CF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2dfa2;
/* rgb */ color: rgb(226, 223, 162);
/* oklch */ color: oklch(89.1% 0.079 105.5);
Tailwind
colors: {
  custom: {
    50: '#ece8be',
    500: '#e2dfa2',
    950: '#000000',
  },
}
SCSS
$custom: #e2dfa2;
$custom-light: #ece8be;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dfa2",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 162
  },
  "hsl": {
    "h": 57.188,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.89148,
    "c": 0.07897,
    "h": 105.5
  },
  "luminance": 0.71553
}

Semantic roles & 50–950 ramp

primary
#E2DFA2
secondary
#6D71BB
accent
#2DC026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161612
muted
#848482

Preview Lab

Preview with #E2DFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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