#E2DF8D#E2DF8D

#E2DF8D is a very light, moderate yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.104 H 106.5°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#E2DF8D
RGBrgb(226, 223, 141)
HSLhsl(58, 59%, 72%)
HSVhsv(58, 38%, 89%)
CMYKcmyk(0%, 1.3%, 37.6%, 11.4%)
CIE-LABlab(87.42, -10.85, 40.56)
CIE-LCHlch(87.42, 41.98, 104.97°)
OKLaboklab(88.78% -0.0294 0.0993)
OKLCHoklch(88.78% 0.104 106.5)
XYZxyz(62.5603, 70.8685, 35.5776)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF8D #8D90E2
analogous
#E2B58D #E2DF8D #BBE28D
triadic
#E2DF8D #8DE2DF #DF8DE2
tetradic
#E2DF8D #8DE2B5 #8D90E2 #E28DBB
square
#E2DF8D #8DE2B5 #8D90E2 #E28DBB
split-complementary
#E2DF8D #8DBBE2 #B58DE2
monochromatic
#C3BE32 #D6D15C #E2DF8D #EEEDBE #F9F8E7

Accessibility & contrast

On white

1.38
#E2DF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#E2DF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF8D
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF8D#FFFFFF#000000##000000
##E2DF8D1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD987
Deuteranopia (green-blind)
#EEDD90
Tritanopia (blue-blind)
#EDD5CB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2df8d;
/* rgb */ color: rgb(226, 223, 141);
/* oklch */ color: oklch(88.8% 0.104 106.5);
Tailwind
colors: {
  custom: {
    50: '#ece8af',
    500: '#e2df8d',
    950: '#000000',
  },
}
SCSS
$custom: #e2df8d;
$custom-light: #ece8af;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df8d",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 141
  },
  "hsl": {
    "h": 57.882,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.88776,
    "c": 0.10352,
    "h": 106.5
  },
  "luminance": 0.70867
}

Semantic roles & 50–950 ramp

primary
#E2DF8D
secondary
#595CBA
accent
#24C71E
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2DF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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