#E2D889#E2D889

#E2D889 is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.100 H 102.0°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E2D889
RGBrgb(226, 216, 137)
HSLhsl(53, 61%, 71%)
HSVhsv(53, 39%, 89%)
CMYKcmyk(0%, 4.4%, 39.4%, 11.4%)
CIE-LABlab(85.55, -7.75, 40.16)
CIE-LCHlch(85.55, 40.90, 100.93°)
OKLaboklab(87.27% -0.0208 0.0982)
OKLCHoklch(87.27% 0.1 102)
XYZxyz(60.4363, 67.0883, 33.4278)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D889 #8993E2
analogous
#E2AB89 #E2D889 #BFE289
triadic
#E2D889 #89E2D8 #D889E2
tetradic
#E2D889 #89E2AB #8993E2 #E289BF
square
#E2D889 #89E2AB #8993E2 #E289BF
split-complementary
#E2D889 #89BFE2 #AB89E2
monochromatic
#C1B12F #D6C858 #E2D889 #EEE8BA #F9F7E6

Accessibility & contrast

On white

1.46
#E2D889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#E2D889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D889
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D889#FFFFFF#000000##000000
##E2D8891.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D383
Deuteranopia (green-blind)
#E9D88C
Tritanopia (blue-blind)
#EECEC4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2d889;
/* rgb */ color: rgb(226, 216, 137);
/* oklch */ color: oklch(87.3% 0.100 102.0);
Tailwind
colors: {
  custom: {
    50: '#ece3ac',
    500: '#e2d889',
    950: '#000000',
  },
}
SCSS
$custom: #e2d889;
$custom-light: #ece3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d889",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 137
  },
  "hsl": {
    "h": 53.258,
    "s": 60.544,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87272,
    "c": 0.10035,
    "h": 102
  },
  "luminance": 0.67087
}

Semantic roles & 50–950 ramp

primary
#E2D889
secondary
#5560BA
accent
#30C81D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D889

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

Preview Lab → · Contrast checker → · Palette generator →

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