#E7DFAE#E7DFAE

#E7DFAE is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.8% C 0.064 H 99.8°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#E7DFAE
RGBrgb(231, 223, 174)
HSLhsl(52, 54%, 79%)
HSVhsv(52, 25%, 91%)
CMYKcmyk(0%, 3.5%, 24.7%, 9.4%)
CIE-LABlab(88.36, -4.89, 25.06)
CIE-LCHlch(88.36, 25.53, 101.04°)
OKLaboklab(89.8% -0.011 0.0636)
OKLCHoklch(89.8% 0.064 99.8)
XYZxyz(66.9828, 72.8215, 50.5636)
Luminance0.7282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DFAE #AEB6E7
analogous
#E7C3AE #E7DFAE #D3E7AE
triadic
#E7DFAE #AEE7DF #DFAEE7
tetradic
#E7DFAE #AEE7C3 #AEB6E7 #E7AED3
square
#E7DFAE #AEE7C3 #AEB6E7 #E7AED3
split-complementary
#E7DFAE #AED3E7 #C3AEE7
monochromatic
#CBBA50 #D9CC7F #E7DFAE #F5F2DD #F8F6E7

Accessibility & contrast

On white

1.35
#E7DFAE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#E7DFAE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DFAE
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DFAE#FFFFFF#000000##000000
##E7DFAE1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9DCAB
Deuteranopia (green-blind)
#EBDFB0
Tritanopia (blue-blind)
#F0D8D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7dfae;
/* rgb */ color: rgb(231, 223, 174);
/* oklch */ color: oklch(89.8% 0.064 99.8);
Tailwind
colors: {
  custom: {
    50: '#efe8c6',
    500: '#e7dfae',
    950: '#000000',
  },
}
SCSS
$custom: #e7dfae;
$custom-light: #efe8c6;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dfae",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 174
  },
  "hsl": {
    "h": 51.579,
    "s": 54.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.89797,
    "c": 0.06449,
    "h": 99.8
  },
  "luminance": 0.7282
}

Semantic roles & 50–950 ramp

primary
#E7DFAE
secondary
#7782C2
accent
#3AC224
background
#FFFEFD
surface
#FEFCF9
border
#D6D5D2
text
#161613
muted
#858482

Preview Lab

Preview with #E7DFAE

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

Preview Lab → · Contrast checker → · Palette generator →

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