#E7D571#E7D571

#E7D571 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.123 H 99.3°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#E7D571
RGBrgb(231, 213, 113)
HSLhsl(51, 71%, 67%)
HSVhsv(51, 51%, 91%)
CMYKcmyk(0%, 7.8%, 51.1%, 9.4%)
CIE-LABlab(84.88, -6.55, 51.19)
CIE-LCHlch(84.88, 51.61, 97.29°)
OKLaboklab(86.74% -0.0199 0.1212)
OKLCHoklch(86.74% 0.123 99.3)
XYZxyz(59.7318, 65.7719, 25.1684)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D571 #7183E7
analogous
#E79A71 #E7D571 #BEE771
triadic
#E7D571 #71E7D5 #D571E7
tetradic
#E7D571 #71E79A #7183E7 #E771BE
square
#E7D571 #71E79A #7183E7 #E771BE
split-complementary
#E7D571 #71BEE7 #9A71E7
monochromatic
#BEA620 #DEC63D #E7D571 #F0E4A5 #F9F4DA

Accessibility & contrast

On white

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

On black

14.15
#E7D571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D571
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D571#FFFFFF#000000##000000
##E7D5711.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d571;
/* rgb */ color: rgb(231, 213, 113);
/* oklch */ color: oklch(86.7% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#f1e19c',
    500: '#e7d571',
    950: '#000000',
  },
}
SCSS
$custom: #e7d571;
$custom-light: #f1e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d571",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 50.847,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86741,
    "c": 0.12277,
    "h": 99.3
  },
  "luminance": 0.6577
}

Semantic roles & 50–950 ramp

primary
#E7D571
secondary
#3F52BD
accent
#30D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D571

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

Preview Lab → · Contrast checker → · Palette generator →

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