#E1D197#E1D197

#E1D197 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 86.0% C 0.077 H 94.5°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#E1D197
RGBrgb(225, 209, 151)
HSLhsl(47, 55%, 74%)
HSVhsv(47, 33%, 88%)
CMYKcmyk(0%, 7.1%, 32.9%, 11.8%)
CIE-LABlab(83.88, -2.96, 30.83)
CIE-LCHlch(83.88, 30.97, 95.49°)
OKLaboklab(86.01% -0.0061 0.077)
OKLCHoklch(86.01% 0.077 94.5)
XYZxyz(59.4385, 63.8445, 38.4643)
Luminance0.6384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D197 #97A7E1
analogous
#E1AC97 #E1D197 #CCE197
triadic
#E1D197 #97E1D1 #D197E1
tetradic
#E1D197 #97E1AC #97A7E1 #E197CC
square
#E1D197 #97E1AC #97A7E1 #E197CC
split-complementary
#E1D197 #97CCE1 #AC97E1
monochromatic
#C5A739 #D3BC67 #E1D197 #EFE6C6 #F8F4E7

Accessibility & contrast

On white

1.53
#E1D197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#E1D197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D197
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D197#FFFFFF#000000##000000
##E1D1971.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE93
Deuteranopia (green-blind)
#E1D399
Tritanopia (blue-blind)
#ECC8C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e1d197;
/* rgb */ color: rgb(225, 209, 151);
/* oklch */ color: oklch(86.0% 0.077 94.5);
Tailwind
colors: {
  custom: {
    50: '#ebdfb6',
    500: '#e1d197',
    950: '#000000',
  },
}
SCSS
$custom: #e1d197;
$custom-light: #ebdfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d197",
  "rgb": {
    "r": 225,
    "g": 209,
    "b": 151
  },
  "hsl": {
    "h": 47.027,
    "s": 55.224,
    "l": 73.725
  },
  "oklch": {
    "l": 0.86008,
    "c": 0.07722,
    "h": 94.5
  },
  "luminance": 0.63843
}

Semantic roles & 50–950 ramp

primary
#E1D197
secondary
#6275BA
accent
#45C323
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E1D197

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

Preview Lab → · Contrast checker → · Palette generator →

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