#E4DC7C#E4DC7C

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

Color values

HEX#E4DC7C
RGBrgb(228, 220, 124)
HSLhsl(55, 66%, 69%)
HSVhsv(55, 46%, 89%)
CMYKcmyk(0%, 3.5%, 45.6%, 10.6%)
CIE-LABlab(86.57, -10.30, 47.90)
CIE-LCHlch(86.57, 48.99, 102.13°)
OKLaboklab(88.07% -0.0294 0.1148)
OKLCHoklch(88.07% 0.119 104.4)
XYZxyz(61.2276, 69.1373, 29.1844)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC7C #7C84E4
analogous
#E4A87C #E4DC7C #B8E47C
triadic
#E4DC7C #7CE4DC #DC7CE4
tetradic
#E4DC7C #7CE4A8 #7C84E4 #E47CB8
square
#E4DC7C #7CE4A8 #7C84E4 #E47CB8
split-complementary
#E4DC7C #7CB8E4 #A87CE4
monochromatic
#BEB327 #DACE49 #E4DC7C #EEEAAF #F9F7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DC7C#FFFFFF#000000##000000
##E4DC7C1.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)
#EBD674
Deuteranopia (green-blind)
#EEDB80
Tritanopia (blue-blind)
#F1D1C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dc7c;
/* rgb */ color: rgb(228, 220, 124);
/* oklch */ color: oklch(88.1% 0.118 104.4);
Tailwind
colors: {
  custom: {
    50: '#eee6a4',
    500: '#e4dc7c',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc7c;
$custom-light: #eee6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc7c",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 124
  },
  "hsl": {
    "h": 55.385,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88066,
    "c": 0.1185,
    "h": 104.4
  },
  "luminance": 0.69136
}

Semantic roles & 50–950 ramp

primary
#E4DC7C
secondary
#4951BC
accent
#26CE18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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