#D8F87F#D8F87F

#D8F87F is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.1% C 0.152 H 121.6°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#D8F87F
RGBrgb(216, 248, 127)
HSLhsl(76, 90%, 74%)
HSVhsv(76, 49%, 97%)
CMYKcmyk(12.9%, 0%, 48.8%, 2.7%)
CIE-LABlab(93.13, -28.26, 54.24)
CIE-LCHlch(93.13, 61.16, 117.52°)
OKLaboklab(93.1% -0.0795 0.1292)
OKLCHoklch(93.1% 0.152 121.6)
XYZxyz(65.7174, 83.2660, 32.6844)
Luminance0.8327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F87F #9F7FF8
analogous
#F8DC7F #D8F87F #9BF87F
triadic
#D8F87F #7FD8F8 #F87FD8
tetradic
#D8F87F #7FF8DC #9F7FF8 #F87F9B
square
#D8F87F #7FF8DC #9F7FF8 #F87F9B
split-complementary
#D8F87F #7F9BF8 #DC7FF8
monochromatic
#B4F00D #C6F545 #D8F87F #EAFBB9 #F6FDE2

Accessibility & contrast

On white

1.19
#D8F87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#D8F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F87F
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F87F#FFFFFF#000000##000000
##D8F87F1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC74
Deuteranopia (green-blind)
#FFEB86
Tritanopia (blue-blind)
#E1EEDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f87f;
/* rgb */ color: rgb(216, 248, 127);
/* oklch */ color: oklch(93.1% 0.152 121.6);
Tailwind
colors: {
  custom: {
    50: '#e6faa7',
    500: '#d8f87f',
    950: '#000000',
  },
}
SCSS
$custom: #d8f87f;
$custom-light: #e6faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f87f",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 75.868,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93097,
    "c": 0.1517,
    "h": 121.6
  },
  "luminance": 0.83266
}

Semantic roles & 50–950 ramp

primary
#D8F87F
secondary
#6C46D5
accent
#00E63D
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D8F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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