#E2D796#E2D796

#E2D796 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.084 H 99.7°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E2D796
RGBrgb(226, 215, 150)
HSLhsl(51, 57%, 74%)
HSVhsv(51, 34%, 89%)
CMYKcmyk(0%, 4.9%, 33.6%, 11.4%)
CIE-LABlab(85.49, -5.77, 33.49)
CIE-LCHlch(85.49, 33.99, 99.78°)
OKLaboklab(87.29% -0.0143 0.0832)
OKLCHoklch(87.29% 0.084 99.7)
XYZxyz(61.1702, 66.9732, 38.5531)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D796 #96A1E2
analogous
#E2B196 #E2D796 #C7E296
triadic
#E2D796 #96E2D7 #D796E2
tetradic
#E2D796 #96E2B1 #96A1E2 #E296C7
square
#E2D796 #96E2B1 #96A1E2 #E296C7
split-complementary
#E2D796 #96C7E2 #B196E2
monochromatic
#C7B237 #D5C566 #E2D796 #EFE9C6 #F8F6E7

Accessibility & contrast

On white

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

On black

14.39
#E2D796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D796
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D796#FFFFFF#000000##000000
##E2D7961.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D391
Deuteranopia (green-blind)
#E6D898
Tritanopia (blue-blind)
#EDCEC6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2d796;
/* rgb */ color: rgb(226, 215, 150);
/* oklch */ color: oklch(87.3% 0.084 99.7);
Tailwind
colors: {
  custom: {
    50: '#ece3b5',
    500: '#e2d796',
    950: '#000000',
  },
}
SCSS
$custom: #e2d796;
$custom-light: #ece3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d796",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 51.316,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.87291,
    "c": 0.08442,
    "h": 99.7
  },
  "luminance": 0.66972
}

Semantic roles & 50–950 ramp

primary
#E2D796
secondary
#616EBB
accent
#39C421
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D796

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

Preview Lab → · Contrast checker → · Palette generator →

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