#E7D771#E7D771

#E7D771 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.125 H 100.5°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E7D771
RGBrgb(231, 215, 113)
HSLhsl(52, 71%, 67%)
HSVhsv(52, 51%, 91%)
CMYKcmyk(0%, 6.9%, 51.1%, 9.4%)
CIE-LABlab(85.39, -7.56, 51.80)
CIE-LCHlch(85.39, 52.35, 98.31°)
OKLaboklab(87.15% -0.0228 0.1225)
OKLCHoklch(87.15% 0.125 100.5)
XYZxyz(60.2379, 66.7842, 25.3372)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D771 #7181E7
analogous
#E79C71 #E7D771 #BCE771
triadic
#E7D771 #71E7D7 #D771E7
tetradic
#E7D771 #71E79C #7181E7 #E771BC
square
#E7D771 #71E79C #7181E7 #E771BC
split-complementary
#E7D771 #71BCE7 #9C71E7
monochromatic
#BEA820 #DEC83D #E7D771 #F0E6A5 #F9F4DA

Accessibility & contrast

On white

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

On black

14.36
#E7D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D771
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D771#FFFFFF#000000##000000
##E7D7711.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d771;
/* rgb */ color: rgb(231, 215, 113);
/* oklch */ color: oklch(87.1% 0.125 100.5);
Tailwind
colors: {
  custom: {
    50: '#f1e39c',
    500: '#e7d771',
    950: '#000000',
  },
}
SCSS
$custom: #e7d771;
$custom-light: #f1e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d771",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 51.864,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87149,
    "c": 0.1246,
    "h": 100.5
  },
  "luminance": 0.66782
}

Semantic roles & 50–950 ramp

primary
#E7D771
secondary
#3F50BD
accent
#2DD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D771

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

Preview Lab → · Contrast checker → · Palette generator →

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