#E7E877#E7E877

#E7E877 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.7% C 0.136 H 109.3°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#E7E877
RGBrgb(231, 232, 119)
HSLhsl(61, 71%, 69%)
HSVhsv(61, 49%, 91%)
CMYKcmyk(0.4%, 0%, 48.7%, 9%)
CIE-LABlab(89.88, -15.52, 54.32)
CIE-LCHlch(89.88, 56.49, 105.95°)
OKLaboklab(90.73% -0.045 0.1285)
OKLCHoklch(90.73% 0.136 109.3)
XYZxyz(65.1428, 76.0356, 28.6939)
Luminance0.7603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E877 #7877E8
analogous
#E8B177 #E7E877 #AFE877
triadic
#E7E877 #77E7E8 #E877E7
tetradic
#E7E877 #77E8B1 #7877E8 #E877AF
square
#E7E877 #77E8B1 #7877E8 #E877AF
split-complementary
#E7E877 #77AFE8 #B177E8
monochromatic
#C2C421 #DEDF43 #E7E877 #F0F1AB #F9FAE0

Accessibility & contrast

On white

1.30
#E7E877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#E7E877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E877
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E877#FFFFFF#000000##000000
##E7E8771.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06D
Deuteranopia (green-blind)
#F9E47D
Tritanopia (blue-blind)
#F4DCCE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e877;
/* rgb */ color: rgb(231, 232, 119);
/* oklch */ color: oklch(90.7% 0.136 109.3);
Tailwind
colors: {
  custom: {
    50: '#f1efa1',
    500: '#e7e877',
    950: '#000000',
  },
}
SCSS
$custom: #e7e877;
$custom-light: #f1efa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e877",
  "rgb": {
    "r": 231,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 60.531,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90733,
    "c": 0.13616,
    "h": 109.3
  },
  "luminance": 0.76034
}

Semantic roles & 50–950 ramp

primary
#E7E877
secondary
#4443C0
accent
#12D314
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E7E877

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

Preview Lab → · Contrast checker → · Palette generator →

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