#E7D596#E7D596

#E7D596 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.083 H 94.1°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E7D596
RGBrgb(231, 213, 150)
HSLhsl(47, 63%, 75%)
HSVhsv(47, 35%, 91%)
CMYKcmyk(0%, 7.8%, 35.1%, 9.4%)
CIE-LABlab(85.39, -2.81, 33.44)
CIE-LCHlch(85.39, 33.56, 94.81°)
OKLaboklab(87.31% -0.0059 0.0831)
OKLCHoklch(87.31% 0.083 94.1)
XYZxyz(62.2553, 66.7813, 38.4589)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D596 #96A8E7
analogous
#E7AD96 #E7D596 #D0E796
triadic
#E7D596 #96E7D5 #D596E7
tetradic
#E7D596 #96E7AD #96A8E7 #E796D0
square
#E7D596 #96E7AD #96A8E7 #E796D0
split-complementary
#E7D596 #96D0E7 #AD96E7
monochromatic
#D0AD32 #DCC164 #E7D596 #F2E9C8 #F9F5E6

Accessibility & contrast

On white

1.46
#E7D596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#E7D596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D596
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D596#FFFFFF#000000##000000
##E7D5961.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D292
Deuteranopia (green-blind)
#E7D898
Tritanopia (blue-blind)
#F3CCC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d596;
/* rgb */ color: rgb(231, 213, 150);
/* oklch */ color: oklch(87.3% 0.083 94.1);
Tailwind
colors: {
  custom: {
    50: '#efe1b5',
    500: '#e7d596',
    950: '#000000',
  },
}
SCSS
$custom: #e7d596;
$custom-light: #efe1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d596",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 46.667,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.87314,
    "c": 0.08327,
    "h": 94.1
  },
  "luminance": 0.66779
}

Semantic roles & 50–950 ramp

primary
#E7D596
secondary
#6076C1
accent
#42CB1B
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #E7D596

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

Preview Lab → · Contrast checker → · Palette generator →

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