#D9F978#D9F978

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

Color values

HEX#D9F978
RGBrgb(217, 249, 120)
HSLhsl(75, 91%, 72%)
HSVhsv(75, 52%, 98%)
CMYKcmyk(12.9%, 0%, 51.8%, 2.4%)
CIE-LABlab(93.39, -29.01, 57.77)
CIE-LCHlch(93.39, 64.64, 116.66°)
OKLaboklab(93.3% -0.0823 0.1363)
OKLCHoklch(93.3% 0.159 121.1)
XYZxyz(65.8816, 83.8592, 30.4813)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F978 #9878F9
analogous
#F9D978 #D9F978 #98F978
triadic
#D9F978 #78D9F9 #F978D9
tetradic
#D9F978 #78F9D9 #9878F9 #F97898
square
#D9F978 #78F9D9 #9878F9 #F97898
split-complementary
#D9F978 #7898F9 #D978F9
monochromatic
#B4EC0A #C9F63D #D9F978 #E9FCB3 #F7FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9F978#FFFFFF#000000##000000
##D9F9781.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)
#FFED6C
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#E3EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d9f978;
/* rgb */ color: rgb(217, 249, 120);
/* oklch */ color: oklch(93.3% 0.159 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7fba2',
    500: '#d9f978',
    950: '#000000',
  },
}
SCSS
$custom: #d9f978;
$custom-light: #e7fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f978",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 74.884,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93297,
    "c": 0.15921,
    "h": 121.1
  },
  "luminance": 0.83859
}

Semantic roles & 50–950 ramp

primary
#D9F978
secondary
#6540D5
accent
#00E639
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F978

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

Preview Lab → · Contrast checker → · Palette generator →

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