#E4DC8F#E4DC8F

#E4DC8F is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.4% C 0.098 H 103.1°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#E4DC8F
RGBrgb(228, 220, 143)
HSLhsl(54, 61%, 73%)
HSVhsv(54, 37%, 89%)
CMYKcmyk(0%, 3.5%, 37.3%, 10.6%)
CIE-LABlab(86.83, -8.34, 38.83)
CIE-LCHlch(86.83, 39.72, 102.12°)
OKLaboklab(88.36% -0.0222 0.0954)
OKLCHoklch(88.36% 0.098 103.1)
XYZxyz(62.5470, 69.6651, 36.1332)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC8F #8F97E4
analogous
#E4B18F #E4DC8F #C1E48F
triadic
#E4DC8F #8FE4DC #DC8FE4
tetradic
#E4DC8F #8FE4B1 #8F97E4 #E48FC1
square
#E4DC8F #8FE4B1 #8F97E4 #E48FC1
split-complementary
#E4DC8F #8FC1E4 #B18FE4
monochromatic
#C8BA30 #D8CD5E #E4DC8F #F0EBC0 #F9F7E6

Accessibility & contrast

On white

1.41
#E4DC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#E4DC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC8F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC8F#FFFFFF#000000##000000
##E4DC8F1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D789
Deuteranopia (green-blind)
#ECDB92
Tritanopia (blue-blind)
#F0D2C9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dc8f;
/* rgb */ color: rgb(228, 220, 143);
/* oklch */ color: oklch(88.4% 0.098 103.1);
Tailwind
colors: {
  custom: {
    50: '#eee6b0',
    500: '#e4dc8f',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc8f;
$custom-light: #eee6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc8f",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 143
  },
  "hsl": {
    "h": 54.353,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.88358,
    "c": 0.0979,
    "h": 103.1
  },
  "luminance": 0.69664
}

Semantic roles & 50–950 ramp

primary
#E4DC8F
secondary
#5A64BD
accent
#2DC91D
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E4DC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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