#E2DF91#E2DF91

#E2DF91 is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 88.8% C 0.099 H 106.4°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#E2DF91
RGBrgb(226, 223, 145)
HSLhsl(58, 58%, 73%)
HSVhsv(58, 36%, 89%)
CMYKcmyk(0%, 1.3%, 35.8%, 11.4%)
CIE-LABlab(87.48, -10.40, 38.63)
CIE-LCHlch(87.48, 40.01, 105.07°)
OKLaboklab(88.84% -0.0279 0.095)
OKLCHoklch(88.84% 0.099 106.4)
XYZxyz(62.8633, 70.9897, 37.1734)
Luminance0.7099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF91 #9194E2
analogous
#E2B791 #E2DF91 #BCE291
triadic
#E2DF91 #91E2DF #DF91E2
tetradic
#E2DF91 #91E2B7 #9194E2 #E291BC
square
#E2DF91 #91E2B7 #9194E2 #E291BC
split-complementary
#E2DF91 #91BCE2 #B791E2
monochromatic
#C5BF34 #D5D161 #E2DF91 #EFEDC1 #F9F8E7

Accessibility & contrast

On white

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

On black

15.20
#E2DF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF91
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF91#FFFFFF#000000##000000
##E2DF911.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD98B
Deuteranopia (green-blind)
#EDDD94
Tritanopia (blue-blind)
#EDD6CB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2df91;
/* rgb */ color: rgb(226, 223, 145);
/* oklch */ color: oklch(88.8% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#ece8b2',
    500: '#e2df91',
    950: '#000000',
  },
}
SCSS
$custom: #e2df91;
$custom-light: #ece8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df91",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 145
  },
  "hsl": {
    "h": 57.778,
    "s": 58.273,
    "l": 72.745
  },
  "oklch": {
    "l": 0.88842,
    "c": 0.099,
    "h": 106.4
  },
  "luminance": 0.70988
}

Semantic roles & 50–950 ramp

primary
#E2DF91
secondary
#5D60BB
accent
#26C620
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DF91

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

Preview Lab → · Contrast checker → · Palette generator →

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