#E2DD99#E2DD99

#E2DD99 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.6% C 0.087 H 104.5°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#E2DD99
RGBrgb(226, 221, 153)
HSLhsl(56, 56%, 74%)
HSVhsv(56, 32%, 89%)
CMYKcmyk(0%, 2.2%, 32.3%, 11.4%)
CIE-LABlab(87.09, -8.46, 34.07)
CIE-LCHlch(87.09, 35.10, 103.94°)
OKLaboklab(88.57% -0.0218 0.0847)
OKLCHoklch(88.57% 0.087 104.5)
XYZxyz(62.9708, 70.1829, 40.3603)
Luminance0.7018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD99 #999EE2
analogous
#E2B999 #E2DD99 #C3E299
triadic
#E2DD99 #99E2DD #DD99E2
tetradic
#E2DD99 #99E2B9 #999EE2 #E299C3
square
#E2DD99 #99E2B9 #999EE2 #E299C3
split-complementary
#E2DD99 #99C3E2 #B999E2
monochromatic
#C7BD3A #D4CD69 #E2DD99 #F0EDC9 #F8F7E7

Accessibility & contrast

On white

1.40
#E2DD99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#E2DD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD99
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD99#FFFFFF#000000##000000
##E2DD991.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D894
Deuteranopia (green-blind)
#EBDC9C
Tritanopia (blue-blind)
#ECD4CB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2dd99;
/* rgb */ color: rgb(226, 221, 153);
/* oklch */ color: oklch(88.6% 0.087 104.5);
Tailwind
colors: {
  custom: {
    50: '#ece7b7',
    500: '#e2dd99',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd99;
$custom-light: #ece7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd99",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 153
  },
  "hsl": {
    "h": 55.89,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.88571,
    "c": 0.08742,
    "h": 104.5
  },
  "luminance": 0.70182
}

Semantic roles & 50–950 ramp

primary
#E2DD99
secondary
#646ABB
accent
#2DC322
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E2DD99

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

Preview Lab → · Contrast checker → · Palette generator →

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