#D7E877#D7E877

#D7E877 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.5% C 0.139 H 116.4°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#D7E877
RGBrgb(215, 232, 119)
HSLhsl(69, 71%, 69%)
HSVhsv(69, 49%, 91%)
CMYKcmyk(7.3%, 0%, 48.7%, 9%)
CIE-LABlab(88.68, -21.80, 52.61)
CIE-LCHlch(88.68, 56.94, 112.50°)
OKLaboklab(89.49% -0.0619 0.125)
OKLCHoklch(89.49% 0.139 116.4)
XYZxyz(60.2115, 73.4928, 28.4628)
Luminance0.7349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E877 #8877E8
analogous
#E8C177 #D7E877 #9FE877
triadic
#D7E877 #77D7E8 #E877D7
tetradic
#D7E877 #77E8C1 #8877E8 #E8779F
square
#D7E877 #77E8C1 #8877E8 #E8779F
split-complementary
#D7E877 #779FE8 #C177E8
monochromatic
#ABC421 #C8DF43 #D7E877 #E6F1AB #F6FAE0

Accessibility & contrast

On white

1.34
#D7E877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#D7E877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E877
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E877#FFFFFF#000000##000000
##D7E8771.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6D
Deuteranopia (green-blind)
#F4E07D
Tritanopia (blue-blind)
#E2DDCE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7e877;
/* rgb */ color: rgb(215, 232, 119);
/* oklch */ color: oklch(89.5% 0.139 116.4);
Tailwind
colors: {
  custom: {
    50: '#e5efa1',
    500: '#d7e877',
    950: '#000000',
  },
}
SCSS
$custom: #d7e877;
$custom-light: #e5efa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e877",
  "rgb": {
    "r": 215,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 69.027,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89485,
    "c": 0.13948,
    "h": 116.4
  },
  "luminance": 0.73492
}

Semantic roles & 50–950 ramp

primary
#D7E877
secondary
#5643C0
accent
#12D32F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D7E877

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

Preview Lab → · Contrast checker → · Palette generator →

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