#D9F97D#D9F97D

#D9F97D is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.155 H 121.4°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#D9F97D
RGBrgb(217, 249, 125)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 50%, 98%)
CMYKcmyk(12.9%, 0%, 49.8%, 2.4%)
CIE-LABlab(93.44, -28.54, 55.56)
CIE-LCHlch(93.44, 62.46, 117.19°)
OKLaboklab(93.36% -0.0805 0.1319)
OKLCHoklch(93.36% 0.155 121.4)
XYZxyz(66.1930, 83.9838, 32.1214)
Luminance0.8398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F97D #9D7DF9
analogous
#F9DB7D #D9F97D #9BF97D
triadic
#D9F97D #7DD9F9 #F97DD9
tetradic
#D9F97D #7DF9DB #9D7DF9 #F97D9B
square
#D9F97D #7DF9DB #9D7DF9 #F97D9B
split-complementary
#D9F97D #7D9BF9 #DB7DF9
monochromatic
#B5F00B #C8F642 #D9F97D #EAFCB7 #F6FEE2

Accessibility & contrast

On white

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

On black

17.80
#D9F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F97D
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F97D#FFFFFF#000000##000000
##D9F97D1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f97d;
/* rgb */ color: rgb(217, 249, 125);
/* oklch */ color: oklch(93.4% 0.155 121.4);
Tailwind
colors: {
  custom: {
    50: '#e7fba5',
    500: '#d9f97d',
    950: '#000000',
  },
}
SCSS
$custom: #d9f97d;
$custom-light: #e7fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f97d",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 75.484,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93358,
    "c": 0.15454,
    "h": 121.4
  },
  "luminance": 0.83984
}

Semantic roles & 50–950 ramp

primary
#D9F97D
secondary
#6A44D6
accent
#00E63B
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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