#D9F87A#D9F87A

#D9F87A is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.1% C 0.156 H 121.0°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#D9F87A
RGBrgb(217, 248, 122)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 51%, 97%)
CMYKcmyk(12.5%, 0%, 50.8%, 2.7%)
CIE-LABlab(93.14, -28.36, 56.57)
CIE-LCHlch(93.14, 63.28, 116.62°)
OKLaboklab(93.11% -0.0803 0.1339)
OKLCHoklch(93.11% 0.156 121)
XYZxyz(65.6960, 83.2917, 31.0245)
Luminance0.8329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F87A #997AF8
analogous
#F8D87A #D9F87A #9AF87A
triadic
#D9F87A #7AD9F8 #F87AD9
tetradic
#D9F87A #7AF8D8 #997AF8 #F87A9A
square
#D9F87A #7AF8D8 #997AF8 #F87A9A
split-complementary
#D9F87A #7A9AF8 #D87AF8
monochromatic
#B4EB0C #C8F540 #D9F87A #EAFBB4 #F7FDE2

Accessibility & contrast

On white

1.19
#D9F87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#D9F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F87A
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F87A#FFFFFF#000000##000000
##D9F87A1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#E3EDDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d9f87a;
/* rgb */ color: rgb(217, 248, 122);
/* oklch */ color: oklch(93.1% 0.156 121.0);
Tailwind
colors: {
  custom: {
    50: '#e7faa3',
    500: '#d9f87a',
    950: '#000000',
  },
}
SCSS
$custom: #d9f87a;
$custom-light: #e7faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f87a",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 74.762,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93105,
    "c": 0.15609,
    "h": 121
  },
  "luminance": 0.83292
}

Semantic roles & 50–950 ramp

primary
#D9F87A
secondary
#6642D4
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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