#E2D587#E2D587

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

Color values

HEX#E2D587
RGBrgb(226, 213, 135)
HSLhsl(51, 61%, 71%)
HSVhsv(51, 40%, 89%)
CMYKcmyk(0%, 5.8%, 40.3%, 11.4%)
CIE-LABlab(84.75, -6.44, 40.14)
CIE-LCHlch(84.75, 40.65, 99.12°)
OKLaboklab(86.63% -0.0172 0.098)
OKLCHoklch(86.63% 0.1 100)
XYZxyz(59.5326, 65.5083, 32.4253)
Luminance0.6551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D587 #8794E2
analogous
#E2A787 #E2D587 #C1E287
triadic
#E2D587 #87E2D5 #D587E2
tetradic
#E2D587 #87E2A7 #8794E2 #E287C1
square
#E2D587 #87E2A7 #8794E2 #E287C1
split-complementary
#E2D587 #87C1E2 #A787E2
monochromatic
#C0AB2E #D6C456 #E2D587 #EEE6B8 #F9F6E6

Accessibility & contrast

On white

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

On black

14.10
#E2D587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D587
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D587#FFFFFF#000000##000000
##E2D5871.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d587;
/* rgb */ color: rgb(226, 213, 135);
/* oklch */ color: oklch(86.6% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#ece1ab',
    500: '#e2d587',
    950: '#000000',
  },
}
SCSS
$custom: #e2d587;
$custom-light: #ece1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d587",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 51.429,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86626,
    "c": 0.09951,
    "h": 100
  },
  "luminance": 0.65507
}

Semantic roles & 50–950 ramp

primary
#E2D587
secondary
#5362BA
accent
#35C91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2D587

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

Preview Lab → · Contrast checker → · Palette generator →

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