#D9F87C#D9F87C

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

Color values

HEX#D9F87C
RGBrgb(217, 248, 124)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 50%, 97%)
CMYKcmyk(12.5%, 0%, 50%, 2.7%)
CIE-LABlab(93.16, -28.17, 55.68)
CIE-LCHlch(93.16, 62.40, 116.84°)
OKLaboklab(93.13% -0.0796 0.1321)
OKLCHoklch(93.13% 0.154 121.1)
XYZxyz(65.8212, 83.3418, 31.6839)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F87C #9B7CF8
analogous
#F8D97C #D9F87C #9BF87C
triadic
#D9F87C #7CD9F8 #F87CD9
tetradic
#D9F87C #7CF8D9 #9B7CF8 #F87C9B
square
#D9F87C #7CF8D9 #9B7CF8 #F87C9B
split-complementary
#D9F87C #7C9BF8 #D97CF8
monochromatic
#B5ED0D #C8F542 #D9F87C #EAFBB6 #F7FDE2

Accessibility & contrast

On white

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

On black

17.67
#D9F87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F87C
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F87C#FFFFFF#000000##000000
##D9F87C1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#E2EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d9f87c;
/* rgb */ color: rgb(217, 248, 124);
/* oklch */ color: oklch(93.1% 0.154 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7faa5',
    500: '#d9f87c',
    950: '#000000',
  },
}
SCSS
$custom: #d9f87c;
$custom-light: #e7faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f87c",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 75,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9313,
    "c": 0.15421,
    "h": 121.1
  },
  "luminance": 0.83342
}

Semantic roles & 50–950 ramp

primary
#D9F87C
secondary
#6844D4
accent
#00E639
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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