#D5E787#D5E787

#D5E787 is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 89.3% C 0.122 H 117.6°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#D5E787
RGBrgb(213, 231, 135)
HSLhsl(71, 67%, 72%)
HSVhsv(71, 42%, 91%)
CMYKcmyk(7.8%, 0%, 41.6%, 9.4%)
CIE-LABlab(88.47, -20.46, 44.65)
CIE-LCHlch(88.47, 49.12, 114.61°)
OKLaboklab(89.35% -0.0567 0.1084)
OKLCHoklch(89.35% 0.122 117.6)
XYZxyz(60.3900, 73.0477, 33.8352)
Luminance0.7305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E787 #9987E7
analogous
#E7C987 #D5E787 #A5E787
triadic
#D5E787 #87D5E7 #E787D5
tetradic
#D5E787 #87E7C9 #9987E7 #E787A5
square
#D5E787 #87E7C9 #9987E7 #E787A5
split-complementary
#D5E787 #87A5E7 #C987E7
monochromatic
#ADCB29 #C3DD54 #D5E787 #E7F1BA #F6FAE5

Accessibility & contrast

On white

1.35
#D5E787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#D5E787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E787
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E787#FFFFFF#000000##000000
##D5E7871.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5e787;
/* rgb */ color: rgb(213, 231, 135);
/* oklch */ color: oklch(89.3% 0.122 117.6);
Tailwind
colors: {
  custom: {
    50: '#e3eeab',
    500: '#d5e787',
    950: '#000000',
  },
}
SCSS
$custom: #d5e787;
$custom-light: #e3eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e787",
  "rgb": {
    "r": 213,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 71.25,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89345,
    "c": 0.12232,
    "h": 117.6
  },
  "luminance": 0.73047
}

Semantic roles & 50–950 ramp

primary
#D5E787
secondary
#6752C0
accent
#17CF39
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #D5E787

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

Preview Lab → · Contrast checker → · Palette generator →

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