#D8F97D#D8F97D

#D8F97D is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.3% C 0.155 H 121.8°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#D8F97D
RGBrgb(216, 249, 125)
HSLhsl(76, 91%, 73%)
HSVhsv(76, 50%, 98%)
CMYKcmyk(13.3%, 0%, 49.8%, 2.4%)
CIE-LABlab(93.38, -28.92, 55.46)
CIE-LCHlch(93.38, 62.55, 117.54°)
OKLaboklab(93.29% -0.0816 0.1317)
OKLCHoklch(93.29% 0.155 121.8)
XYZxyz(65.8966, 83.8309, 32.1075)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F97D #9E7DF9
analogous
#F9DC7D #D8F97D #9AF97D
triadic
#D8F97D #7DD8F9 #F97DD8
tetradic
#D8F97D #7DF9DC #9E7DF9 #F97D9A
square
#D8F97D #7DF9DC #9E7DF9 #F97D9A
split-complementary
#D8F97D #7D9AF9 #DC7DF9
monochromatic
#B3F00B #C6F642 #D8F97D #EAFCB7 #F6FEE2

Accessibility & contrast

On white

1.18
#D8F97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#D8F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F97D
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F97D#FFFFFF#000000##000000
##D8F97D1.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFEC84
Tritanopia (blue-blind)
#E1EEDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8f97d;
/* rgb */ color: rgb(216, 249, 125);
/* oklch */ color: oklch(93.3% 0.155 121.8);
Tailwind
colors: {
  custom: {
    50: '#e6fba5',
    500: '#d8f97d',
    950: '#000000',
  },
}
SCSS
$custom: #d8f97d;
$custom-light: #e6fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f97d",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 75.968,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93288,
    "c": 0.1549,
    "h": 121.8
  },
  "luminance": 0.83831
}

Semantic roles & 50–950 ramp

primary
#D8F97D
secondary
#6B44D6
accent
#00E63D
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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