#E1D97D#E1D97D

#E1D97D is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.114 H 104.1°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E1D97D
RGBrgb(225, 217, 125)
HSLhsl(55, 63%, 69%)
HSVhsv(55, 44%, 88%)
CMYKcmyk(0%, 3.6%, 44.4%, 11.8%)
CIE-LABlab(85.56, -9.88, 46.11)
CIE-LCHlch(85.56, 47.16, 102.10°)
OKLaboklab(87.21% -0.0279 0.1109)
OKLCHoklch(87.21% 0.114 104.1)
XYZxyz(59.5672, 67.1156, 29.2148)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D97D #7D85E1
analogous
#E1A77D #E1D97D #B7E17D
triadic
#E1D97D #7DE1D9 #D97DE1
tetradic
#E1D97D #7DE1A7 #7D85E1 #E17DB7
square
#E1D97D #7DE1A7 #7D85E1 #E17DB7
split-complementary
#E1D97D #7DB7E1 #A77DE1
monochromatic
#B9AE2B #D6CA4B #E1D97D #ECE8AF #F8F6E0

Accessibility & contrast

On white

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

On black

14.42
#E1D97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D97D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D97D#FFFFFF#000000##000000
##E1D97D1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D375
Deuteranopia (green-blind)
#EBD881
Tritanopia (blue-blind)
#EECEC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e1d97d;
/* rgb */ color: rgb(225, 217, 125);
/* oklch */ color: oklch(87.2% 0.114 104.1);
Tailwind
colors: {
  custom: {
    50: '#ece4a4',
    500: '#e1d97d',
    950: '#000000',
  },
}
SCSS
$custom: #e1d97d;
$custom-light: #ece4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d97d",
  "rgb": {
    "r": 225,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 55.2,
    "s": 62.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.8721,
    "c": 0.11439,
    "h": 104.1
  },
  "luminance": 0.67114
}

Semantic roles & 50–950 ramp

primary
#E1D97D
secondary
#4A53B8
accent
#29CA1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E1D97D

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

Preview Lab → · Contrast checker → · Palette generator →

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