#E4DFAF#E4DFAF

#E4DFAF is a very light, moderate yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.063 H 102.6°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#E4DFAF
RGBrgb(228, 223, 175)
HSLhsl(54, 50%, 79%)
HSVhsv(54, 23%, 89%)
CMYKcmyk(0%, 2.2%, 23.2%, 10.6%)
CIE-LABlab(88.14, -5.86, 24.20)
CIE-LCHlch(88.14, 24.90, 103.62°)
OKLaboklab(89.57% -0.0138 0.0615)
OKLCHoklch(89.57% 0.063 102.6)
XYZxyz(66.1204, 72.3655, 51.0339)
Luminance0.7236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DFAF #AFB4E4
analogous
#E4C5AF #E4DFAF #CFE4AF
triadic
#E4DFAF #AFE4DF #DFAFE4
tetradic
#E4DFAF #AFE4C5 #AFB4E4 #E4AFCF
square
#E4DFAF #AFE4C5 #AFB4E4 #E4AFCF
split-complementary
#E4DFAF #AFCFE4 #C5AFE4
monochromatic
#C5BA53 #D5CD81 #E4DFAF #F3F1DD #F7F6E8

Accessibility & contrast

On white

1.36
#E4DFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#E4DFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DFAF
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DFAF#FFFFFF#000000##000000
##E4DFAF1.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8DBAC
Deuteranopia (green-blind)
#EADEB1
Tritanopia (blue-blind)
#ECD8D2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4dfaf;
/* rgb */ color: rgb(228, 223, 175);
/* oklch */ color: oklch(89.6% 0.063 102.6);
Tailwind
colors: {
  custom: {
    50: '#ede8c7',
    500: '#e4dfaf',
    950: '#000000',
  },
}
SCSS
$custom: #e4dfaf;
$custom-light: #ede8c7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dfaf",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 175
  },
  "hsl": {
    "h": 54.34,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.89573,
    "c": 0.063,
    "h": 102.6
  },
  "luminance": 0.72364
}

Semantic roles & 50–950 ramp

primary
#E4DFAF
secondary
#7980BE
accent
#37BD29
background
#FFFEFD
surface
#FEFCF9
border
#D6D5D2
text
#161613
muted
#858482

Preview Lab

Preview with #E4DFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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