#D8FA87#D8FA87

#D8FA87 is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.6% C 0.146 H 122.8°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#D8FA87
RGBrgb(216, 250, 135)
HSLhsl(78, 92%, 75%)
HSVhsv(78, 46%, 98%)
CMYKcmyk(13.6%, 0%, 46%, 2%)
CIE-LABlab(93.76, -28.39, 51.27)
CIE-LCHlch(93.76, 58.61, 118.98°)
OKLaboklab(93.63% -0.0793 0.1232)
OKLCHoklch(93.63% 0.146 122.8)
XYZxyz(66.8778, 84.7192, 35.7461)
Luminance0.8472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA87 #A987FA
analogous
#FAE287 #D8FA87 #9EFA87
triadic
#D8FA87 #87D8FA #FA87D8
tetradic
#D8FA87 #87FAE2 #A987FA #FA879E
square
#D8FA87 #87FAE2 #A987FA #FA879E
split-complementary
#D8FA87 #879EFA #E287FA
monochromatic
#B2F511 #C5F84C #D8FA87 #EBFCC2 #F5FEE2

Accessibility & contrast

On white

1.17
#D8FA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#D8FA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA87
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA87#FFFFFF#000000##000000
##D8FA871.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#E0F0DF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d8fa87;
/* rgb */ color: rgb(216, 250, 135);
/* oklch */ color: oklch(93.6% 0.146 122.8);
Tailwind
colors: {
  custom: {
    50: '#e6fcac',
    500: '#d8fa87',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa87;
$custom-light: #e6fcac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa87",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 77.739,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93634,
    "c": 0.14648,
    "h": 122.8
  },
  "luminance": 0.84719
}

Semantic roles & 50–950 ramp

primary
#D8FA87
secondary
#764DD8
accent
#00E644
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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