#E2D588#E2D588

#E2D588 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.098 H 99.9°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#E2D588
RGBrgb(226, 213, 136)
HSLhsl(51, 61%, 71%)
HSVhsv(51, 40%, 89%)
CMYKcmyk(0%, 5.8%, 39.8%, 11.4%)
CIE-LABlab(84.76, -6.34, 39.66)
CIE-LCHlch(84.76, 40.16, 99.08°)
OKLaboklab(86.64% -0.0168 0.097)
OKLCHoklch(86.64% 0.098 99.9)
XYZxyz(59.6034, 65.5366, 32.7979)
Luminance0.6553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D588 #8895E2
analogous
#E2A888 #E2D588 #C2E288
triadic
#E2D588 #88E2D5 #D588E2
tetradic
#E2D588 #88E2A8 #8895E2 #E288C2
square
#E2D588 #88E2A8 #8895E2 #E288C2
split-complementary
#E2D588 #88C2E2 #A888E2
monochromatic
#C1AC2F #D6C457 #E2D588 #EEE6B9 #F9F6E6

Accessibility & contrast

On white

1.49
#E2D588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#E2D588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D588
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D588#FFFFFF#000000##000000
##E2D5881.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D182
Deuteranopia (green-blind)
#E7D68B
Tritanopia (blue-blind)
#EFCBC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d588;
/* rgb */ color: rgb(226, 213, 136);
/* oklch */ color: oklch(86.6% 0.098 99.9);
Tailwind
colors: {
  custom: {
    50: '#ece1ab',
    500: '#e2d588',
    950: '#000000',
  },
}
SCSS
$custom: #e2d588;
$custom-light: #ece1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d588",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 136
  },
  "hsl": {
    "h": 51.333,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86642,
    "c": 0.0984,
    "h": 99.9
  },
  "luminance": 0.65535
}

Semantic roles & 50–950 ramp

primary
#E2D588
secondary
#5463BA
accent
#36C91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D588

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

Preview Lab → · Contrast checker → · Palette generator →

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