#E5D571#E5D571

#E5D571 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.6% C 0.123 H 100.4°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#E5D571
RGBrgb(229, 213, 113)
HSLhsl(52, 69%, 67%)
HSVhsv(52, 51%, 90%)
CMYKcmyk(0%, 7%, 50.7%, 10.2%)
CIE-LABlab(84.71, -7.36, 50.95)
CIE-LCHlch(84.71, 51.47, 98.22°)
OKLaboklab(86.57% -0.0221 0.1207)
OKLCHoklch(86.57% 0.123 100.4)
XYZxyz(59.0898, 65.4409, 25.1383)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D571 #7181E5
analogous
#E59B71 #E5D571 #BBE571
triadic
#E5D571 #71E5D5 #D571E5
tetradic
#E5D571 #71E59B #7181E5 #E571BB
square
#E5D571 #71E59B #7181E5 #E571BB
split-complementary
#E5D571 #71BBE5 #9B71E5
monochromatic
#BAA522 #DCC63D #E5D571 #EEE4A5 #F8F4D8

Accessibility & contrast

On white

1.49
#E5D571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#E5D571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D571
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D571#FFFFFF#000000##000000
##E5D5711.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D068
Deuteranopia (green-blind)
#EAD675
Tritanopia (blue-blind)
#F4C9BE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e5d571;
/* rgb */ color: rgb(229, 213, 113);
/* oklch */ color: oklch(86.6% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#efe19c',
    500: '#e5d571',
    950: '#000000',
  },
}
SCSS
$custom: #e5d571;
$custom-light: #efe19c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d571",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 51.724,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86566,
    "c": 0.12265,
    "h": 100.4
  },
  "luminance": 0.65439
}

Semantic roles & 50–950 ramp

primary
#E5D571
secondary
#4151BA
accent
#2ED114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D571

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

Preview Lab → · Contrast checker → · Palette generator →

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