#E2DF8A#E2DF8A

#E2DF8A is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 88.7% C 0.107 H 106.6°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#E2DF8A
RGBrgb(226, 223, 138)
HSLhsl(58, 60%, 71%)
HSVhsv(58, 39%, 89%)
CMYKcmyk(0%, 1.3%, 38.9%, 11.4%)
CIE-LABlab(87.38, -11.17, 42.00)
CIE-LCHlch(87.38, 43.46, 104.90°)
OKLaboklab(88.73% -0.0306 0.1024)
OKLCHoklch(88.73% 0.107 106.6)
XYZxyz(62.3401, 70.7805, 34.4179)
Luminance0.7078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF8A #8A8DE2
analogous
#E2B38A #E2DF8A #B9E28A
triadic
#E2DF8A #8AE2DF #DF8AE2
tetradic
#E2DF8A #8AE2B3 #8A8DE2 #E28AB9
square
#E2DF8A #8AE2B3 #8A8DE2 #E28AB9
split-complementary
#E2DF8A #8AB9E2 #B38AE2
monochromatic
#C2BD30 #D6D259 #E2DF8A #EEECBB #F9F8E6

Accessibility & contrast

On white

1.39
#E2DF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#E2DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF8A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF8A#FFFFFF#000000##000000
##E2DF8A1.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD984
Deuteranopia (green-blind)
#EEDD8E
Tritanopia (blue-blind)
#EED5CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2df8a;
/* rgb */ color: rgb(226, 223, 138);
/* oklch */ color: oklch(88.7% 0.107 106.6);
Tailwind
colors: {
  custom: {
    50: '#ece8ad',
    500: '#e2df8a',
    950: '#000000',
  },
}
SCSS
$custom: #e2df8a;
$custom-light: #ece8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df8a",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 57.955,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88728,
    "c": 0.10686,
    "h": 106.6
  },
  "luminance": 0.70779
}

Semantic roles & 50–950 ramp

primary
#E2DF8A
secondary
#5659BA
accent
#23C81E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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