#D9F87E#D9F87E

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

Color values

HEX#D9F87E
RGBrgb(217, 248, 126)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 49%, 97%)
CMYKcmyk(12.5%, 0%, 49.2%, 2.7%)
CIE-LABlab(93.19, -27.98, 54.79)
CIE-LCHlch(93.19, 61.52, 117.05°)
OKLaboklab(93.16% -0.0789 0.1303)
OKLCHoklch(93.16% 0.152 121.2)
XYZxyz(65.9489, 83.3929, 32.3568)
Luminance0.8339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F87E #9D7EF8
analogous
#F8DA7E #D9F87E #9CF87E
triadic
#D9F87E #7ED9F8 #F87ED9
tetradic
#D9F87E #7EF8DA #9D7EF8 #F87E9C
square
#D9F87E #7EF8DA #9D7EF8 #F87E9C
split-complementary
#D9F87E #7E9CF8 #DA7EF8
monochromatic
#B5EF0D #C8F544 #D9F87E #EAFBB8 #F6FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9F87E#FFFFFF#000000##000000
##D9F87E1.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)
#FFEC73
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#E2EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d9f87e;
/* rgb */ color: rgb(217, 248, 126);
/* oklch */ color: oklch(93.2% 0.152 121.2);
Tailwind
colors: {
  custom: {
    50: '#e7faa6',
    500: '#d9f87e',
    950: '#000000',
  },
}
SCSS
$custom: #d9f87e;
$custom-light: #e7faa6;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f87e",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 75.246,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93155,
    "c": 0.1523,
    "h": 121.2
  },
  "luminance": 0.83393
}

Semantic roles & 50–950 ramp

primary
#D9F87E
secondary
#6A46D5
accent
#00E63A
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D9F87E

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

Preview Lab → · Contrast checker → · Palette generator →

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