#D9F979#D9F979

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

Color values

HEX#D9F979
RGBrgb(217, 249, 121)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 51%, 98%)
CMYKcmyk(12.9%, 0%, 51.4%, 2.4%)
CIE-LABlab(93.40, -28.92, 57.33)
CIE-LCHlch(93.40, 64.21, 116.77°)
OKLaboklab(93.31% -0.0819 0.1354)
OKLCHoklch(93.31% 0.158 121.2)
XYZxyz(65.9426, 83.8836, 30.8026)
Luminance0.8388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F979 #9979F9
analogous
#F9D979 #D9F979 #99F979
triadic
#D9F979 #79D9F9 #F979D9
tetradic
#D9F979 #79F9D9 #9979F9 #F97999
square
#D9F979 #79F9D9 #9979F9 #F97999
split-complementary
#D9F979 #7999F9 #D979F9
monochromatic
#B4ED0B #C8F63E #D9F979 #EAFCB4 #F7FEE2

Accessibility & contrast

On white

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

On black

17.78
#D9F979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F979
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F979#FFFFFF#000000##000000
##D9F9791.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#E2EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d9f979;
/* rgb */ color: rgb(217, 249, 121);
/* oklch */ color: oklch(93.3% 0.158 121.2);
Tailwind
colors: {
  custom: {
    50: '#e7fba3',
    500: '#d9f979',
    950: '#000000',
  },
}
SCSS
$custom: #d9f979;
$custom-light: #e7fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f979",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 75,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93309,
    "c": 0.15829,
    "h": 121.2
  },
  "luminance": 0.83884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9F979

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

Preview Lab → · Contrast checker → · Palette generator →

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