#E4DB7A#E4DB7A

#E4DB7A is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.120 H 103.9°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#E4DB7A
RGBrgb(228, 219, 122)
HSLhsl(55, 66%, 69%)
HSVhsv(55, 46%, 89%)
CMYKcmyk(0%, 3.9%, 46.5%, 10.6%)
CIE-LABlab(86.29, -9.98, 48.52)
CIE-LCHlch(86.29, 49.53, 101.63°)
OKLaboklab(87.83% -0.0287 0.116)
OKLCHoklch(87.83% 0.12 103.9)
XYZxyz(60.8407, 68.5639, 28.4379)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB7A #7A83E4
analogous
#E4A67A #E4DB7A #B8E47A
triadic
#E4DB7A #7AE4DB #DB7AE4
tetradic
#E4DB7A #7AE4A6 #7A83E4 #E47AB8
square
#E4DB7A #7AE4A6 #7A83E4 #E47AB8
split-complementary
#E4DB7A #7AB8E4 #A67AE4
monochromatic
#BDB026 #DACD47 #E4DB7A #EEE9AD #F9F7E0

Accessibility & contrast

On white

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

On black

14.71
#E4DB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DB7A
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DB7A#FFFFFF#000000##000000
##E4DB7A1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD572
Deuteranopia (green-blind)
#EDDA7E
Tritanopia (blue-blind)
#F2CFC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4db7a;
/* rgb */ color: rgb(228, 219, 122);
/* oklch */ color: oklch(87.8% 0.120 103.9);
Tailwind
colors: {
  custom: {
    50: '#eee6a2',
    500: '#e4db7a',
    950: '#000000',
  },
}
SCSS
$custom: #e4db7a;
$custom-light: #eee6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db7a",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 54.906,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87832,
    "c": 0.11952,
    "h": 103.9
  },
  "luminance": 0.68562
}

Semantic roles & 50–950 ramp

primary
#E4DB7A
secondary
#4751BB
accent
#27CE17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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