#E7D8A2#E7D8A2

#E7D8A2 is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.072 H 94.4°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#E7D8A2
RGBrgb(231, 216, 162)
HSLhsl(47, 59%, 77%)
HSVhsv(47, 30%, 91%)
CMYKcmyk(0%, 6.5%, 29.9%, 9.4%)
CIE-LABlab(86.36, -2.89, 28.55)
CIE-LCHlch(86.36, 28.69, 95.78°)
OKLaboklab(88.15% -0.0055 0.0718)
OKLCHoklch(88.15% 0.072 94.4)
XYZxyz(64.0331, 68.7109, 44.0648)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D8A2 #A2B1E7
analogous
#E7B6A2 #E7D8A2 #D3E7A2
triadic
#E7D8A2 #A2E7D8 #D8A2E7
tetradic
#E7D8A2 #A2E7B6 #A2B1E7 #E7A2D3
square
#E7D8A2 #A2E7B6 #A2B1E7 #E7A2D3
split-complementary
#E7D8A2 #A2D3E7 #B6A2E7
monochromatic
#CEAF41 #DAC471 #E7D8A2 #F4ECD3 #F9F5E7

Accessibility & contrast

On white

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

On black

14.74
#E7D8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D8A2
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D8A2#FFFFFF#000000##000000
##E7D8A21.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D59E
Deuteranopia (green-blind)
#E7DAA4
Tritanopia (blue-blind)
#F2D0CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7d8a2;
/* rgb */ color: rgb(231, 216, 162);
/* oklch */ color: oklch(88.1% 0.072 94.4);
Tailwind
colors: {
  custom: {
    50: '#efe4be',
    500: '#e7d8a2',
    950: '#000000',
  },
}
SCSS
$custom: #e7d8a2;
$custom-light: #efe4be;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d8a2",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 162
  },
  "hsl": {
    "h": 46.957,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.88145,
    "c": 0.07198,
    "h": 94.4
  },
  "luminance": 0.68709
}

Semantic roles & 50–950 ramp

primary
#E7D8A2
secondary
#6C7EC2
accent
#43C71F
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161512
muted
#858482

Preview Lab

Preview with #E7D8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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