#D8EB87#D8EB87

#D8EB87 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 90.4% C 0.127 H 117.8°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#D8EB87
RGBrgb(216, 235, 135)
HSLhsl(71, 71%, 73%)
HSVhsv(71, 43%, 92%)
CMYKcmyk(8.1%, 0%, 42.6%, 7.8%)
CIE-LABlab(89.75, -21.26, 46.30)
CIE-LCHlch(89.75, 50.95, 114.66°)
OKLaboklab(90.42% -0.0591 0.1121)
OKLCHoklch(90.42% 0.127 117.8)
XYZxyz(62.4008, 75.7653, 34.2538)
Luminance0.7577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB87 #9A87EB
analogous
#EBCC87 #D8EB87 #A6EB87
triadic
#D8EB87 #87D8EB #EB87D8
tetradic
#D8EB87 #87EBCC #9A87EB #EB87A6
square
#D8EB87 #87EBCC #9A87EB #EB87A6
split-complementary
#D8EB87 #87A6EB #CC87EB
monochromatic
#B3D423 #C7E253 #D8EB87 #E9F4BB #F6FBE5

Accessibility & contrast

On white

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

On black

16.15
#D8EB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB87
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB87#FFFFFF#000000##000000
##D8EB871.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E17F
Deuteranopia (green-blind)
#F5E28C
Tritanopia (blue-blind)
#E1E1D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8eb87;
/* rgb */ color: rgb(216, 235, 135);
/* oklch */ color: oklch(90.4% 0.127 117.8);
Tailwind
colors: {
  custom: {
    50: '#e5f1ab',
    500: '#d8eb87',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb87;
$custom-light: #e5f1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb87",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 135
  },
  "hsl": {
    "h": 71.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90421,
    "c": 0.12671,
    "h": 117.8
  },
  "luminance": 0.75765
}

Semantic roles & 50–950 ramp

primary
#D8EB87
secondary
#6751C5
accent
#12D337
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #D8EB87

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

Preview Lab → · Contrast checker → · Palette generator →

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