#E2DF87#E2DF87

#E2DF87 is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 88.7% C 0.110 H 106.7°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#E2DF87
RGBrgb(226, 223, 135)
HSLhsl(58, 61%, 71%)
HSVhsv(58, 40%, 89%)
CMYKcmyk(0%, 1.3%, 40.3%, 11.4%)
CIE-LABlab(87.34, -11.49, 43.43)
CIE-LCHlch(87.34, 44.93, 104.82°)
OKLaboklab(88.68% -0.0317 0.1055)
OKLCHoklch(88.68% 0.11 106.7)
XYZxyz(62.1259, 70.6948, 33.2898)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF87 #878AE2
analogous
#E2B187 #E2DF87 #B7E287
triadic
#E2DF87 #87E2DF #DF87E2
tetradic
#E2DF87 #87E2B1 #878AE2 #E287B7
square
#E2DF87 #87E2B1 #878AE2 #E287B7
split-complementary
#E2DF87 #87B7E2 #B187E2
monochromatic
#C0BB2E #D6D256 #E2DF87 #EEECB8 #F9F8E6

Accessibility & contrast

On white

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

On black

15.14
#E2DF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF87
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF87#FFFFFF#000000##000000
##E2DF871.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df87;
/* rgb */ color: rgb(226, 223, 135);
/* oklch */ color: oklch(88.7% 0.110 106.7);
Tailwind
colors: {
  custom: {
    50: '#ece8ab',
    500: '#e2df87',
    950: '#000000',
  },
}
SCSS
$custom: #e2df87;
$custom-light: #ece8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df87",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 58.022,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88682,
    "c": 0.11016,
    "h": 106.7
  },
  "luminance": 0.70693
}

Semantic roles & 50–950 ramp

primary
#E2DF87
secondary
#5357BA
accent
#22C91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2DF87

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

Preview Lab → · Contrast checker → · Palette generator →

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