#E2DF99#E2DF99

#E2DF99 is a very light, moderate yellow. Relative luminance 0.712; OKLCH L 89.0% C 0.090 H 106.0°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#E2DF99
RGBrgb(226, 223, 153)
HSLhsl(58, 56%, 74%)
HSVhsv(58, 32%, 89%)
CMYKcmyk(0%, 1.3%, 32.3%, 11.4%)
CIE-LABlab(87.60, -9.46, 34.75)
CIE-LCHlch(87.60, 36.02, 105.23°)
OKLaboklab(88.98% -0.0247 0.0862)
OKLCHoklch(88.98% 0.09 106)
XYZxyz(63.5020, 71.2452, 40.5373)
Luminance0.7124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF99 #999CE2
analogous
#E2BB99 #E2DF99 #C1E299
triadic
#E2DF99 #99E2DF #DF99E2
tetradic
#E2DF99 #99E2BB #999CE2 #E299C1
square
#E2DF99 #99E2BB #999CE2 #E299C1
split-complementary
#E2DF99 #99C1E2 #BB99E2
monochromatic
#C7C13A #D4D069 #E2DF99 #F0EEC9 #F8F8E7

Accessibility & contrast

On white

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

On black

15.25
#E2DF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF99
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF99#FFFFFF#000000##000000
##E2DF991.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA94
Deuteranopia (green-blind)
#ECDD9C
Tritanopia (blue-blind)
#ECD6CD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2df99;
/* rgb */ color: rgb(226, 223, 153);
/* oklch */ color: oklch(89.0% 0.090 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece8b7',
    500: '#e2df99',
    950: '#000000',
  },
}
SCSS
$custom: #e2df99;
$custom-light: #ece8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df99",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 153
  },
  "hsl": {
    "h": 57.534,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.88981,
    "c": 0.08973,
    "h": 106
  },
  "luminance": 0.71244
}

Semantic roles & 50–950 ramp

primary
#E2DF99
secondary
#6468BB
accent
#29C322
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DF99

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

Preview Lab → · Contrast checker → · Palette generator →

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