#D9F87F#D9F87F

#D9F87F is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.2% C 0.151 H 121.3°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#D9F87F
RGBrgb(217, 248, 127)
HSLhsl(75, 90%, 74%)
HSVhsv(75, 49%, 97%)
CMYKcmyk(12.5%, 0%, 48.8%, 2.7%)
CIE-LABlab(93.20, -27.88, 54.34)
CIE-LCHlch(93.20, 61.08, 117.16°)
OKLaboklab(93.17% -0.0785 0.1294)
OKLCHoklch(93.17% 0.151 121.3)
XYZxyz(66.0138, 83.4189, 32.6983)
Luminance0.8342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F87F #9E7FF8
analogous
#F8DA7F #D9F87F #9CF87F
triadic
#D9F87F #7FD9F8 #F87FD9
tetradic
#D9F87F #7FF8DA #9E7FF8 #F87F9C
square
#D9F87F #7FF8DA #9E7FF8 #F87F9C
split-complementary
#D9F87F #7F9CF8 #DA7FF8
monochromatic
#B5F00D #C8F545 #D9F87F #EAFBB9 #F6FDE2

Accessibility & contrast

On white

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

On black

17.68
#D9F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F87F
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F87F#FFFFFF#000000##000000
##D9F87F1.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f87f;
/* rgb */ color: rgb(217, 248, 127);
/* oklch */ color: oklch(93.2% 0.151 121.3);
Tailwind
colors: {
  custom: {
    50: '#e7faa7',
    500: '#d9f87f',
    950: '#000000',
  },
}
SCSS
$custom: #d9f87f;
$custom-light: #e7faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f87f",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 75.372,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93168,
    "c": 0.15134,
    "h": 121.3
  },
  "luminance": 0.83419
}

Semantic roles & 50–950 ramp

primary
#D9F87F
secondary
#6B46D5
accent
#00E63B
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D9F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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