#E7D396#E7D396

#E7D396 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.082 H 92.1°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E7D396
RGBrgb(231, 211, 150)
HSLhsl(45, 63%, 75%)
HSVhsv(45, 35%, 91%)
CMYKcmyk(0%, 8.7%, 35.1%, 9.4%)
CIE-LABlab(84.88, -1.79, 32.77)
CIE-LCHlch(84.88, 32.82, 93.12°)
OKLaboklab(86.91% -0.0029 0.0815)
OKLCHoklch(86.91% 0.082 92.1)
XYZxyz(61.7553, 65.7814, 38.2923)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D396 #96AAE7
analogous
#E7AB96 #E7D396 #D3E796
triadic
#E7D396 #96E7D3 #D396E7
tetradic
#E7D396 #96E7AB #96AAE7 #E796D3
square
#E7D396 #96E7AB #96AAE7 #E796D3
split-complementary
#E7D396 #96D3E7 #AB96E7
monochromatic
#D0A932 #DCBE64 #E7D396 #F2E8C8 #F9F5E6

Accessibility & contrast

On white

1.48
#E7D396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#E7D396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D396
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D396#FFFFFF#000000##000000
##E7D3961.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D092
Deuteranopia (green-blind)
#E5D798
Tritanopia (blue-blind)
#F3CAC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d396;
/* rgb */ color: rgb(231, 211, 150);
/* oklch */ color: oklch(86.9% 0.082 92.1);
Tailwind
colors: {
  custom: {
    50: '#efe0b5',
    500: '#e7d396',
    950: '#000000',
  },
}
SCSS
$custom: #e7d396;
$custom-light: #efe0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d396",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 150
  },
  "hsl": {
    "h": 45.185,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.86913,
    "c": 0.08154,
    "h": 92.1
  },
  "luminance": 0.65779
}

Semantic roles & 50–950 ramp

primary
#E7D396
secondary
#6078C1
accent
#46CB1B
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #E7D396

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

Preview Lab → · Contrast checker → · Palette generator →

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