#E7DFAF#E7DFAF

#E7DFAF is a very light, moderate yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.063 H 99.6°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#E7DFAF
RGBrgb(231, 223, 175)
HSLhsl(51, 54%, 80%)
HSVhsv(51, 24%, 91%)
CMYKcmyk(0%, 3.5%, 24.2%, 9.4%)
CIE-LABlab(88.38, -4.75, 24.57)
CIE-LCHlch(88.38, 25.02, 100.95°)
OKLaboklab(89.82% -0.0106 0.0624)
OKLCHoklch(89.82% 0.063 99.6)
XYZxyz(67.0806, 72.8606, 51.0789)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DFAF #AFB7E7
analogous
#E7C3AF #E7DFAF #D3E7AF
triadic
#E7DFAF #AFE7DF #DFAFE7
tetradic
#E7DFAF #AFE7C3 #AFB7E7 #E7AFD3
square
#E7DFAF #AFE7C3 #AFB7E7 #E7AFD3
split-complementary
#E7DFAF #AFD3E7 #C3AFE7
monochromatic
#CBB951 #D9CC80 #E7DFAF #F5F2DE #F8F6E7

Accessibility & contrast

On white

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

On black

15.57
#E7DFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DFAF
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DFAF#FFFFFF#000000##000000
##E7DFAF1.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7dfaf;
/* rgb */ color: rgb(231, 223, 175);
/* oklch */ color: oklch(89.8% 0.063 99.6);
Tailwind
colors: {
  custom: {
    50: '#efe8c7',
    500: '#e7dfaf',
    950: '#000000',
  },
}
SCSS
$custom: #e7dfaf;
$custom-light: #efe8c7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dfaf",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 175
  },
  "hsl": {
    "h": 51.429,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.89818,
    "c": 0.06325,
    "h": 99.6
  },
  "luminance": 0.72859
}

Semantic roles & 50–950 ramp

primary
#E7DFAF
secondary
#7883C2
accent
#3BC124
background
#FFFEFD
surface
#FEFCF9
border
#D6D5D2
text
#161613
muted
#858482

Preview Lab

Preview with #E7DFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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