#E1D971#E1D971

#E1D971 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.127 H 104.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E1D971
RGBrgb(225, 217, 113)
HSLhsl(56, 65%, 66%)
HSVhsv(56, 50%, 88%)
CMYKcmyk(0%, 3.6%, 49.8%, 11.8%)
CIE-LABlab(85.42, -10.99, 51.71)
CIE-LCHlch(85.42, 52.86, 102.00°)
OKLaboklab(87.05% -0.0323 0.1224)
OKLCHoklch(87.05% 0.127 104.8)
XYZxyz(58.8464, 66.8273, 25.4187)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D971 #7179E1
analogous
#E1A171 #E1D971 #B1E171
triadic
#E1D971 #71E1D9 #D971E1
tetradic
#E1D971 #71E1A1 #7179E1 #E171B1
square
#E1D971 #71E1A1 #7179E1 #E171B1
split-complementary
#E1D971 #71B1E1 #A171E1
monochromatic
#B2A826 #D6CB3E #E1D971 #ECE7A4 #F6F4D6

Accessibility & contrast

On white

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

On black

14.37
#E1D971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D971
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D971#FFFFFF#000000##000000
##E1D9711.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D368
Deuteranopia (green-blind)
#ECD876
Tritanopia (blue-blind)
#EFCDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e1d971;
/* rgb */ color: rgb(225, 217, 113);
/* oklch */ color: oklch(87.0% 0.127 104.8);
Tailwind
colors: {
  custom: {
    50: '#ece49c',
    500: '#e1d971',
    950: '#000000',
  },
}
SCSS
$custom: #e1d971;
$custom-light: #ece49c;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d971",
  "rgb": {
    "r": 225,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 55.714,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87047,
    "c": 0.12656,
    "h": 104.8
  },
  "luminance": 0.66826
}

Semantic roles & 50–950 ramp

primary
#E1D971
secondary
#434BB3
accent
#25CD19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E1D971

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

Preview Lab → · Contrast checker → · Palette generator →

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