#E2DB7D#E2DB7D

#E2DB7D is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 87.7% C 0.116 H 104.8°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#E2DB7D
RGBrgb(226, 219, 125)
HSLhsl(56, 64%, 69%)
HSVhsv(56, 45%, 89%)
CMYKcmyk(0%, 3.1%, 44.7%, 11.4%)
CIE-LABlab(86.16, -10.49, 46.87)
CIE-LCHlch(86.16, 48.03, 102.62°)
OKLaboklab(87.71% -0.0297 0.1126)
OKLCHoklch(87.71% 0.116 104.8)
XYZxyz(60.3985, 68.3141, 29.4024)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB7D #7D84E2
analogous
#E2A97D #E2DB7D #B7E27D
triadic
#E2DB7D #7DE2DB #DB7DE2
tetradic
#E2DB7D #7DE2A9 #7D84E2 #E27DB7
square
#E2DB7D #7DE2A9 #7D84E2 #E27DB7
split-complementary
#E2DB7D #7DB7E2 #A97DE2
monochromatic
#BBB12A #D7CD4B #E2DB7D #EDE9AF #F8F7E1

Accessibility & contrast

On white

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

On black

14.66
#E2DB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB7D
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB7D#FFFFFF#000000##000000
##E2DB7D1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD575
Deuteranopia (green-blind)
#ECDA81
Tritanopia (blue-blind)
#EFD0C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2db7d;
/* rgb */ color: rgb(226, 219, 125);
/* oklch */ color: oklch(87.7% 0.116 104.8);
Tailwind
colors: {
  custom: {
    50: '#ede6a4',
    500: '#e2db7d',
    950: '#000000',
  },
}
SCSS
$custom: #e2db7d;
$custom-light: #ede6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db7d",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 125
  },
  "hsl": {
    "h": 55.842,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87707,
    "c": 0.11647,
    "h": 104.8
  },
  "luminance": 0.68312
}

Semantic roles & 50–950 ramp

primary
#E2DB7D
secondary
#4A52B9
accent
#26CB1A
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2DB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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