#E4DC7E#E4DC7E

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

Color values

HEX#E4DC7E
RGBrgb(228, 220, 126)
HSLhsl(55, 65%, 69%)
HSVhsv(55, 45%, 89%)
CMYKcmyk(0%, 3.5%, 44.7%, 10.6%)
CIE-LABlab(86.60, -10.11, 46.96)
CIE-LCHlch(86.60, 48.03, 102.15°)
OKLaboklab(88.1% -0.0286 0.1129)
OKLCHoklch(88.1% 0.116 104.2)
XYZxyz(61.3554, 69.1885, 29.8573)
Luminance0.6919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC7E #7E86E4
analogous
#E4A97E #E4DC7E #B9E47E
triadic
#E4DC7E #7EE4DC #DC7EE4
tetradic
#E4DC7E #7EE4A9 #7E86E4 #E47EB9
square
#E4DC7E #7EE4A9 #7E86E4 #E47EB9
split-complementary
#E4DC7E #7EB9E4 #A97EE4
monochromatic
#C0B428 #D9CE4B #E4DC7E #EFEAB1 #F9F7E3

Accessibility & contrast

On white

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

On black

14.84
#E4DC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC7E
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC7E#FFFFFF#000000##000000
##E4DC7E1.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#EEDB82
Tritanopia (blue-blind)
#F1D1C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dc7e;
/* rgb */ color: rgb(228, 220, 126);
/* oklch */ color: oklch(88.1% 0.116 104.2);
Tailwind
colors: {
  custom: {
    50: '#eee6a5',
    500: '#e4dc7e',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc7e;
$custom-light: #eee6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc7e",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 55.294,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88095,
    "c": 0.11643,
    "h": 104.2
  },
  "luminance": 0.69187
}

Semantic roles & 50–950 ramp

primary
#E4DC7E
secondary
#4A53BC
accent
#26CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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