#E9D571#E9D571

#E9D571 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.123 H 98.3°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#E9D571
RGBrgb(233, 213, 113)
HSLhsl(50, 73%, 68%)
HSVhsv(50, 52%, 91%)
CMYKcmyk(0%, 8.6%, 51.5%, 8.6%)
CIE-LABlab(85.05, -5.74, 51.43)
CIE-LCHlch(85.05, 51.75, 96.37°)
OKLaboklab(86.92% -0.0176 0.1217)
OKLCHoklch(86.92% 0.123 98.3)
XYZxyz(60.3811, 66.1067, 25.1989)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D571 #7185E9
analogous
#E99971 #E9D571 #C1E971
triadic
#E9D571 #71E9D5 #D571E9
tetradic
#E9D571 #71E999 #7185E9 #E971C1
square
#E9D571 #71E999 #7185E9 #E971C1
split-complementary
#E9D571 #71C1E9 #9971E9
monochromatic
#C2A61E #E1C53C #E9D571 #F1E5A6 #F9F4DB

Accessibility & contrast

On white

1.48
#E9D571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#E9D571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D571
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D571#FFFFFF#000000##000000
##E9D5711.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#EBD875
Tritanopia (blue-blind)
#F8C8BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e9d571;
/* rgb */ color: rgb(233, 213, 113);
/* oklch */ color: oklch(86.9% 0.123 98.3);
Tailwind
colors: {
  custom: {
    50: '#f2e19c',
    500: '#e9d571',
    950: '#000000',
  },
}
SCSS
$custom: #e9d571;
$custom-light: #f2e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d571",
  "rgb": {
    "r": 233,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 50,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86917,
    "c": 0.12293,
    "h": 98.3
  },
  "luminance": 0.66104
}

Semantic roles & 50–950 ramp

primary
#E9D571
secondary
#3E54C0
accent
#31D510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E9D571

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

Preview Lab → · Contrast checker → · Palette generator →

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