#E2DD89#E2DD89

#E2DD89 is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.3% C 0.106 H 105.4°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#E2DD89
RGBrgb(226, 221, 137)
HSLhsl(57, 61%, 71%)
HSVhsv(57, 39%, 89%)
CMYKcmyk(0%, 2.2%, 39.4%, 11.4%)
CIE-LABlab(86.84, -10.28, 41.82)
CIE-LCHlch(86.84, 43.06, 103.81°)
OKLaboklab(88.3% -0.0281 0.1019)
OKLCHoklch(88.3% 0.106 105.4)
XYZxyz(61.7368, 69.6893, 33.8613)
Luminance0.6969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD89 #898EE2
analogous
#E2B089 #E2DD89 #BAE289
triadic
#E2DD89 #89E2DD #DD89E2
tetradic
#E2DD89 #89E2B0 #898EE2 #E289BA
square
#E2DD89 #89E2B0 #898EE2 #E289BA
split-complementary
#E2DD89 #89BAE2 #B089E2
monochromatic
#C1B92F #D6CF58 #E2DD89 #EEEBBA #F9F8E6

Accessibility & contrast

On white

1.41
#E2DD89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#E2DD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD89
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD89#FFFFFF#000000##000000
##E2DD891.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD783
Deuteranopia (green-blind)
#EDDB8D
Tritanopia (blue-blind)
#EED3C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2dd89;
/* rgb */ color: rgb(226, 221, 137);
/* oklch */ color: oklch(88.3% 0.106 105.4);
Tailwind
colors: {
  custom: {
    50: '#ece7ac',
    500: '#e2dd89',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd89;
$custom-light: #ece7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd89",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 137
  },
  "hsl": {
    "h": 56.629,
    "s": 60.544,
    "l": 71.176
  },
  "oklch": {
    "l": 0.883,
    "c": 0.10573,
    "h": 105.4
  },
  "luminance": 0.69688
}

Semantic roles & 50–950 ramp

primary
#E2DD89
secondary
#555BBA
accent
#27C81D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2DD89

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

Preview Lab → · Contrast checker → · Palette generator →

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