#D7E787#D7E787

#D7E787 is a very light, vivid yellow-green. Relative luminance 0.733; OKLCH L 89.5% C 0.122 H 116.7°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#D7E787
RGBrgb(215, 231, 135)
HSLhsl(70, 67%, 72%)
HSVhsv(70, 42%, 91%)
CMYKcmyk(6.9%, 0%, 41.6%, 9.4%)
CIE-LABlab(88.61, -19.70, 44.87)
CIE-LCHlch(88.61, 49.00, 113.70°)
OKLaboklab(89.5% -0.0547 0.1088)
OKLCHoklch(89.5% 0.122 116.7)
XYZxyz(60.9738, 73.3487, 33.8626)
Luminance0.7335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E787 #9787E7
analogous
#E7C787 #D7E787 #A7E787
triadic
#D7E787 #87D7E7 #E787D7
tetradic
#D7E787 #87E7C7 #9787E7 #E787A7
square
#D7E787 #87E7C7 #9787E7 #E787A7
split-complementary
#D7E787 #87A7E7 #C787E7
monochromatic
#B0CB29 #C6DD54 #D7E787 #E8F1BA #F7FAE5

Accessibility & contrast

On white

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

On black

15.67
#D7E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E787
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E787#FFFFFF#000000##000000
##D7E7871.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7F
Deuteranopia (green-blind)
#F1DF8C
Tritanopia (blue-blind)
#E0DDD0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e787;
/* rgb */ color: rgb(215, 231, 135);
/* oklch */ color: oklch(89.5% 0.122 116.7);
Tailwind
colors: {
  custom: {
    50: '#e5eeab',
    500: '#d7e787',
    950: '#000000',
  },
}
SCSS
$custom: #d7e787;
$custom-light: #e5eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e787",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 70,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89495,
    "c": 0.12178,
    "h": 116.7
  },
  "luminance": 0.73348
}

Semantic roles & 50–950 ramp

primary
#D7E787
secondary
#6452C0
accent
#17CF36
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #D7E787

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

Preview Lab → · Contrast checker → · Palette generator →

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