#E2DF9E#E2DF9E

#E2DF9E is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.084 H 105.7°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#E2DF9E
RGBrgb(226, 223, 158)
HSLhsl(57, 54%, 75%)
HSVhsv(57, 30%, 89%)
CMYKcmyk(0%, 1.3%, 30.1%, 11.4%)
CIE-LABlab(87.69, -8.85, 32.31)
CIE-LCHlch(87.69, 33.50, 105.32°)
OKLaboklab(89.07% -0.0227 0.0807)
OKLCHoklch(89.07% 0.084 105.7)
XYZxyz(63.9237, 71.4139, 42.7580)
Luminance0.7141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF9E #9EA1E2
analogous
#E2BD9E #E2DF9E #C3E29E
triadic
#E2DF9E #9EE2DF #DF9EE2
tetradic
#E2DF9E #9EE2BD #9EA1E2 #E29EC3
square
#E2DF9E #9EE2BD #9EA1E2 #E29EC3
split-complementary
#E2DF9E #9EC3E2 #BD9EE2
monochromatic
#C6C040 #D4CF6F #E2DF9E #F0EFCD #F8F7E7

Accessibility & contrast

On white

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

On black

15.28
#E2DF9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF9E
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF9E#FFFFFF#000000##000000
##E2DF9E1.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EADA9A
Deuteranopia (green-blind)
#ECDDA1
Tritanopia (blue-blind)
#ECD7CE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2df9e;
/* rgb */ color: rgb(226, 223, 158);
/* oklch */ color: oklch(89.1% 0.084 105.7);
Tailwind
colors: {
  custom: {
    50: '#ece8bb',
    500: '#e2df9e',
    950: '#000000',
  },
}
SCSS
$custom: #e2df9e;
$custom-light: #ece8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df9e",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 158
  },
  "hsl": {
    "h": 57.353,
    "s": 53.968,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89073,
    "c": 0.08379,
    "h": 105.7
  },
  "luminance": 0.71413
}

Semantic roles & 50–950 ramp

primary
#E2DF9E
secondary
#696DBB
accent
#2BC124
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161612
muted
#858482

Preview Lab

Preview with #E2DF9E

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

Preview Lab → · Contrast checker → · Palette generator →

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