#D8F978#D8F978

#D8F978 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.2% C 0.160 H 121.5°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#D8F978
RGBrgb(216, 249, 120)
HSLhsl(75, 91%, 72%)
HSVhsv(75, 52%, 98%)
CMYKcmyk(13.3%, 0%, 51.8%, 2.4%)
CIE-LABlab(93.32, -29.39, 57.67)
CIE-LCHlch(93.32, 64.73, 117.00°)
OKLaboklab(93.23% -0.0833 0.1361)
OKLCHoklch(93.23% 0.16 121.5)
XYZxyz(65.5852, 83.7064, 30.4675)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F978 #9978F9
analogous
#F9DA78 #D8F978 #98F978
triadic
#D8F978 #78D8F9 #F978D8
tetradic
#D8F978 #78F9DA #9978F9 #F97898
square
#D8F978 #78F9DA #9978F9 #F97898
split-complementary
#D8F978 #7898F9 #DA78F9
monochromatic
#B2EC0A #C7F63D #D8F978 #E9FCB3 #F7FEE2

Accessibility & contrast

On white

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

On black

17.74
#D8F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F978
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F978#FFFFFF#000000##000000
##D8F9781.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#E1EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8f978;
/* rgb */ color: rgb(216, 249, 120);
/* oklch */ color: oklch(93.2% 0.160 121.5);
Tailwind
colors: {
  custom: {
    50: '#e6fba2',
    500: '#d8f978',
    950: '#000000',
  },
}
SCSS
$custom: #d8f978;
$custom-light: #e6fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f978",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 75.349,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93227,
    "c": 0.15957,
    "h": 121.5
  },
  "luminance": 0.83706
}

Semantic roles & 50–950 ramp

primary
#D8F978
secondary
#6640D5
accent
#00E63B
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F978

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

Preview Lab → · Contrast checker → · Palette generator →

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