#E4DB7D#E4DB7D

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

Color values

HEX#E4DB7D
RGBrgb(228, 219, 125)
HSLhsl(55, 66%, 69%)
HSVhsv(55, 45%, 89%)
CMYKcmyk(0%, 3.9%, 45.2%, 10.6%)
CIE-LABlab(86.33, -9.70, 47.11)
CIE-LCHlch(86.33, 48.10, 101.63°)
OKLaboklab(87.87% -0.0276 0.1131)
OKLCHoklch(87.87% 0.116 103.7)
XYZxyz(61.0295, 68.6394, 29.4320)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB7D #7D86E4
analogous
#E4A87D #E4DB7D #BAE47D
triadic
#E4DB7D #7DE4DB #DB7DE4
tetradic
#E4DB7D #7DE4A8 #7D86E4 #E47DBA
square
#E4DB7D #7DE4A8 #7D86E4 #E47DBA
split-complementary
#E4DB7D #7DBAE4 #A87DE4
monochromatic
#BFB228 #D9CD4A #E4DB7D #EFE9B0 #F9F7E2

Accessibility & contrast

On white

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

On black

14.73
#E4DB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DB7D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DB7D#FFFFFF#000000##000000
##E4DB7D1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4db7d;
/* rgb */ color: rgb(228, 219, 125);
/* oklch */ color: oklch(87.9% 0.116 103.7);
Tailwind
colors: {
  custom: {
    50: '#eee6a4',
    500: '#e4db7d',
    950: '#000000',
  },
}
SCSS
$custom: #e4db7d;
$custom-light: #eee6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db7d",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 125
  },
  "hsl": {
    "h": 54.757,
    "s": 65.605,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87874,
    "c": 0.11643,
    "h": 103.7
  },
  "luminance": 0.68638
}

Semantic roles & 50–950 ramp

primary
#E4DB7D
secondary
#4953BC
accent
#28CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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