#D9F97F#D9F97F

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

Color values

HEX#D9F97F
RGBrgb(217, 249, 127)
HSLhsl(76, 91%, 74%)
HSVhsv(76, 49%, 98%)
CMYKcmyk(12.9%, 0%, 49%, 2.4%)
CIE-LABlab(93.47, -28.35, 54.66)
CIE-LCHlch(93.47, 61.58, 117.42°)
OKLaboklab(93.38% -0.0798 0.1301)
OKLCHoklch(93.38% 0.153 121.5)
XYZxyz(66.3220, 84.0354, 32.8010)
Luminance0.8404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F97F #9F7FF9
analogous
#F9DC7F #D9F97F #9CF97F
triadic
#D9F97F #7FD9F9 #F97FD9
tetradic
#D9F97F #7FF9DC #9F7FF9 #F97F9C
square
#D9F97F #7FF9DC #9F7FF9 #F97F9C
split-complementary
#D9F97F #7F9CF9 #DC7FF9
monochromatic
#B6F20B #C8F645 #D9F97F #EAFCB9 #F6FEE2

Accessibility & contrast

On white

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

On black

17.81
#D9F97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F97F
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F97F#FFFFFF#000000##000000
##D9F97F1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f97f;
/* rgb */ color: rgb(217, 249, 127);
/* oklch */ color: oklch(93.4% 0.153 121.5);
Tailwind
colors: {
  custom: {
    50: '#e7fba7',
    500: '#d9f97f',
    950: '#000000',
  },
}
SCSS
$custom: #d9f97f;
$custom-light: #e7fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f97f",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 75.738,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93383,
    "c": 0.15263,
    "h": 121.5
  },
  "luminance": 0.84035
}

Semantic roles & 50–950 ramp

primary
#D9F97F
secondary
#6C46D6
accent
#00E63C
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D9F97F

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

Preview Lab → · Contrast checker → · Palette generator →

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