#E2DB84#E2DB84

#E2DB84 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 87.8% C 0.109 H 104.4°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#E2DB84
RGBrgb(226, 219, 132)
HSLhsl(56, 62%, 70%)
HSVhsv(56, 42%, 89%)
CMYKcmyk(0%, 3.1%, 41.6%, 11.4%)
CIE-LABlab(86.26, -9.80, 43.55)
CIE-LCHlch(86.26, 44.64, 102.68°)
OKLaboklab(87.81% -0.0271 0.1056)
OKLCHoklch(87.81% 0.109 104.4)
XYZxyz(60.8616, 68.4993, 31.8410)
Luminance0.6850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB84 #848BE2
analogous
#E2AC84 #E2DB84 #BAE284
triadic
#E2DB84 #84E2DB #DB84E2
tetradic
#E2DB84 #84E2AC #848BE2 #E284BA
square
#E2DB84 #84E2AC #848BE2 #E284BA
split-complementary
#E2DB84 #84BAE2 #AC84E2
monochromatic
#BFB42D #D6CD52 #E2DB84 #EEE9B6 #F9F8E6

Accessibility & contrast

On white

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

On black

14.70
#E2DB84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB84
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB84#FFFFFF#000000##000000
##E2DB841.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D57D
Deuteranopia (green-blind)
#ECDA88
Tritanopia (blue-blind)
#EFD0C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2db84;
/* rgb */ color: rgb(226, 219, 132);
/* oklch */ color: oklch(87.8% 0.109 104.4);
Tailwind
colors: {
  custom: {
    50: '#ece6a9',
    500: '#e2db84',
    950: '#000000',
  },
}
SCSS
$custom: #e2db84;
$custom-light: #ece6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db84",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 132
  },
  "hsl": {
    "h": 55.532,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8781,
    "c": 0.10903,
    "h": 104.4
  },
  "luminance": 0.68498
}

Semantic roles & 50–950 ramp

primary
#E2DB84
secondary
#5058BA
accent
#29CA1C
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E2DB84

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

Preview Lab → · Contrast checker → · Palette generator →

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