#E2DB87#E2DB87

#E2DB87 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.9% C 0.106 H 104.2°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E2DB87
RGBrgb(226, 219, 135)
HSLhsl(55, 61%, 71%)
HSVhsv(55, 40%, 89%)
CMYKcmyk(0%, 3.1%, 40.3%, 11.4%)
CIE-LABlab(86.30, -9.48, 42.12)
CIE-LCHlch(86.30, 43.17, 102.69°)
OKLaboklab(87.86% -0.026 0.1025)
OKLCHoklch(87.86% 0.106 104.2)
XYZxyz(61.0698, 68.5826, 32.9377)
Luminance0.6858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB87 #878EE2
analogous
#E2AD87 #E2DB87 #BBE287
triadic
#E2DB87 #87E2DB #DB87E2
tetradic
#E2DB87 #87E2AD #878EE2 #E287BB
square
#E2DB87 #87E2AD #878EE2 #E287BB
split-complementary
#E2DB87 #87BBE2 #AD87E2
monochromatic
#C0B52E #D6CC56 #E2DB87 #EEEAB8 #F9F8E6

Accessibility & contrast

On white

1.43
#E2DB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#E2DB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB87
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB87#FFFFFF#000000##000000
##E2DB871.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D581
Deuteranopia (green-blind)
#EBDA8B
Tritanopia (blue-blind)
#EED1C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2db87;
/* rgb */ color: rgb(226, 219, 135);
/* oklch */ color: oklch(87.9% 0.106 104.2);
Tailwind
colors: {
  custom: {
    50: '#ece6ab',
    500: '#e2db87',
    950: '#000000',
  },
}
SCSS
$custom: #e2db87;
$custom-light: #ece6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db87",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 135
  },
  "hsl": {
    "h": 55.385,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87856,
    "c": 0.10575,
    "h": 104.2
  },
  "luminance": 0.68581
}

Semantic roles & 50–950 ramp

primary
#E2DB87
secondary
#535BBA
accent
#2AC91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2DB87

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

Preview Lab → · Contrast checker → · Palette generator →

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