#D9F87D#D9F87D

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

Color values

HEX#D9F87D
RGBrgb(217, 248, 125)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 50%, 97%)
CMYKcmyk(12.5%, 0%, 49.6%, 2.7%)
CIE-LABlab(93.17, -28.08, 55.23)
CIE-LCHlch(93.17, 61.96, 116.94°)
OKLaboklab(93.14% -0.0792 0.1312)
OKLCHoklch(93.14% 0.153 121.1)
XYZxyz(65.8847, 83.3672, 32.0186)
Luminance0.8337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F87D #9C7DF8
analogous
#F8D97D #D9F87D #9BF87D
triadic
#D9F87D #7DD9F8 #F87DD9
tetradic
#D9F87D #7DF8D9 #9C7DF8 #F87D9B
square
#D9F87D #7DF8D9 #9C7DF8 #F87D9B
split-complementary
#D9F87D #7D9BF8 #D97DF8
monochromatic
#B5EE0D #C8F543 #D9F87D #EAFBB7 #F7FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9F87D#FFFFFF#000000##000000
##D9F87D1.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)
#FFEC72
Deuteranopia (green-blind)
#FFEC84
Tritanopia (blue-blind)
#E2EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d9f87d;
/* rgb */ color: rgb(217, 248, 125);
/* oklch */ color: oklch(93.1% 0.153 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7faa5',
    500: '#d9f87d',
    950: '#000000',
  },
}
SCSS
$custom: #d9f87d;
$custom-light: #e7faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f87d",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 75.122,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93142,
    "c": 0.15326,
    "h": 121.1
  },
  "luminance": 0.83367
}

Semantic roles & 50–950 ramp

primary
#D9F87D
secondary
#6945D4
accent
#00E63A
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F87D

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

Preview Lab → · Contrast checker → · Palette generator →

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