#E4DB7B#E4DB7B

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

Color values

HEX#E4DB7B
RGBrgb(228, 219, 123)
HSLhsl(55, 66%, 69%)
HSVhsv(55, 46%, 89%)
CMYKcmyk(0%, 3.9%, 46.1%, 10.6%)
CIE-LABlab(86.30, -9.89, 48.05)
CIE-LCHlch(86.30, 49.05, 101.63°)
OKLaboklab(87.85% -0.0283 0.1151)
OKLCHoklch(87.85% 0.119 103.8)
XYZxyz(60.9030, 68.5889, 28.7658)
Luminance0.6859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB7B #7B84E4
analogous
#E4A77B #E4DB7B #B9E47B
triadic
#E4DB7B #7BE4DB #DB7BE4
tetradic
#E4DB7B #7BE4A7 #7B84E4 #E47BB9
square
#E4DB7B #7BE4A7 #7B84E4 #E47BB9
split-complementary
#E4DB7B #7BB9E4 #A77BE4
monochromatic
#BEB127 #DACD48 #E4DB7B #EEE9AE #F9F7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DB7B#FFFFFF#000000##000000
##E4DB7B1.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)
#EAD573
Deuteranopia (green-blind)
#EDDA7F
Tritanopia (blue-blind)
#F2D0C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4db7b;
/* rgb */ color: rgb(228, 219, 123);
/* oklch */ color: oklch(87.8% 0.118 103.8);
Tailwind
colors: {
  custom: {
    50: '#eee6a3',
    500: '#e4db7b',
    950: '#000000',
  },
}
SCSS
$custom: #e4db7b;
$custom-light: #eee6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db7b",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 123
  },
  "hsl": {
    "h": 54.857,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87846,
    "c": 0.1185,
    "h": 103.8
  },
  "luminance": 0.68587
}

Semantic roles & 50–950 ramp

primary
#E4DB7B
secondary
#4852BC
accent
#27CE18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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