#E4DC7D#E4DC7D

#E4DC7D is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.117 H 104.3°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#E4DC7D
RGBrgb(228, 220, 125)
HSLhsl(55, 66%, 69%)
HSVhsv(55, 45%, 89%)
CMYKcmyk(0%, 3.5%, 45.2%, 10.6%)
CIE-LABlab(86.58, -10.20, 47.43)
CIE-LCHlch(86.58, 48.51, 102.14°)
OKLaboklab(88.08% -0.029 0.1138)
OKLCHoklch(88.08% 0.117 104.3)
XYZxyz(61.2912, 69.1628, 29.5192)
Luminance0.6916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC7D #7D85E4
analogous
#E4A97D #E4DC7D #B9E47D
triadic
#E4DC7D #7DE4DC #DC7DE4
tetradic
#E4DC7D #7DE4A9 #7D85E4 #E47DB9
square
#E4DC7D #7DE4A9 #7D85E4 #E47DB9
split-complementary
#E4DC7D #7DB9E4 #A97DE4
monochromatic
#BFB328 #D9CE4A #E4DC7D #EFEAB0 #F9F7E2

Accessibility & contrast

On white

1.42
#E4DC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#E4DC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC7D
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC7D#FFFFFF#000000##000000
##E4DC7D1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD675
Deuteranopia (green-blind)
#EEDB81
Tritanopia (blue-blind)
#F1D1C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dc7d;
/* rgb */ color: rgb(228, 220, 125);
/* oklch */ color: oklch(88.1% 0.117 104.3);
Tailwind
colors: {
  custom: {
    50: '#eee6a4',
    500: '#e4dc7d',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc7d;
$custom-light: #eee6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc7d",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 55.34,
    "s": 65.605,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8808,
    "c": 0.11747,
    "h": 104.3
  },
  "luminance": 0.69161
}

Semantic roles & 50–950 ramp

primary
#E4DC7D
secondary
#4952BC
accent
#26CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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