#E7E771#E7E771

#E7E771 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.5% C 0.141 H 108.9°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#E7E771
RGBrgb(231, 231, 113)
HSLhsl(60, 71%, 67%)
HSVhsv(60, 51%, 91%)
CMYKcmyk(0%, 0%, 51.1%, 9.4%)
CIE-LABlab(89.55, -15.54, 56.70)
CIE-LCHlch(89.55, 58.79, 105.33°)
OKLaboklab(90.45% -0.0456 0.1332)
OKLCHoklch(90.45% 0.141 108.9)
XYZxyz(64.5131, 75.3346, 26.7622)
Luminance0.7533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E771 #7171E7
analogous
#E7AC71 #E7E771 #ACE771
triadic
#E7E771 #71E7E7 #E771E7
tetradic
#E7E771 #71E7AC #7171E7 #E771AC
square
#E7E771 #71E7AC #7171E7 #E771AC
split-complementary
#E7E771 #71ACE7 #AC71E7
monochromatic
#BEBE20 #DEDE3D #E7E771 #F0F0A5 #F9F9DA

Accessibility & contrast

On white

1.31
#E7E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#E7E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E771
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E771#FFFFFF#000000##000000
##E7E7711.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF66
Deuteranopia (green-blind)
#F9E377
Tritanopia (blue-blind)
#F5DBCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e7e771;
/* rgb */ color: rgb(231, 231, 113);
/* oklch */ color: oklch(90.5% 0.141 108.9);
Tailwind
colors: {
  custom: {
    50: '#f1ee9d',
    500: '#e7e771',
    950: '#000000',
  },
}
SCSS
$custom: #e7e771;
$custom-light: #f1ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e771",
  "rgb": {
    "r": 231,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90452,
    "c": 0.14075,
    "h": 108.9
  },
  "luminance": 0.75333
}

Semantic roles & 50–950 ramp

primary
#E7E771
secondary
#3F3FBD
accent
#12D312
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E7E771

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

Preview Lab → · Contrast checker → · Palette generator →

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