#E2D296#E2D296

#E2D296 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.080 H 95.0°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#E2D296
RGBrgb(226, 210, 150)
HSLhsl(47, 57%, 74%)
HSVhsv(47, 34%, 89%)
CMYKcmyk(0%, 7.1%, 33.6%, 11.4%)
CIE-LABlab(84.21, -3.21, 31.79)
CIE-LCHlch(84.21, 31.96, 95.77°)
OKLaboklab(86.28% -0.0069 0.0792)
OKLCHoklch(86.28% 0.08 95)
XYZxyz(59.9165, 64.4656, 38.1351)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D296 #96A6E2
analogous
#E2AC96 #E2D296 #CCE296
triadic
#E2D296 #96E2D2 #D296E2
tetradic
#E2D296 #96E2AC #96A6E2 #E296CC
square
#E2D296 #96E2AC #96A6E2 #E296CC
split-complementary
#E2D296 #96CCE2 #AC96E2
monochromatic
#C7A837 #D5BD66 #E2D296 #EFE7C6 #F8F5E7

Accessibility & contrast

On white

1.51
#E2D296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#E2D296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D296
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D296#FFFFFF#000000##000000
##E2D2961.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF92
Deuteranopia (green-blind)
#E3D498
Tritanopia (blue-blind)
#EDC9C2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d296;
/* rgb */ color: rgb(226, 210, 150);
/* oklch */ color: oklch(86.3% 0.080 95.0);
Tailwind
colors: {
  custom: {
    50: '#ecdfb5',
    500: '#e2d296',
    950: '#000000',
  },
}
SCSS
$custom: #e2d296;
$custom-light: #ecdfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d296",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 47.368,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.86278,
    "c": 0.07952,
    "h": 95
  },
  "luminance": 0.64464
}

Semantic roles & 50–950 ramp

primary
#E2D296
secondary
#6174BB
accent
#44C421
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E2D296

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

Preview Lab → · Contrast checker → · Palette generator →

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