#D7F87F#D7F87F

#D7F87F is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 93.0% C 0.152 H 122.0°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#D7F87F
RGBrgb(215, 248, 127)
HSLhsl(76, 90%, 74%)
HSVhsv(76, 49%, 97%)
CMYKcmyk(13.3%, 0%, 48.8%, 2.7%)
CIE-LABlab(93.06, -28.64, 54.15)
CIE-LCHlch(93.06, 61.25, 117.87°)
OKLaboklab(93.03% -0.0805 0.129)
OKLCHoklch(93.03% 0.152 122)
XYZxyz(65.4228, 83.1141, 32.6706)
Luminance0.8311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F87F #A07FF8
analogous
#F8DD7F #D7F87F #9AF87F
triadic
#D7F87F #7FD7F8 #F87FD7
tetradic
#D7F87F #7FF8DD #A07FF8 #F87F9A
square
#D7F87F #7FF8DD #A07FF8 #F87F9A
split-complementary
#D7F87F #7F9AF8 #DD7FF8
monochromatic
#B2F00D #C5F545 #D7F87F #E9FBB9 #F6FDE2

Accessibility & contrast

On white

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

On black

17.62
#D7F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F87F
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F87F#FFFFFF#000000##000000
##D7F87F1.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7f87f;
/* rgb */ color: rgb(215, 248, 127);
/* oklch */ color: oklch(93.0% 0.152 122.0);
Tailwind
colors: {
  custom: {
    50: '#e5faa7',
    500: '#d7f87f',
    950: '#000000',
  },
}
SCSS
$custom: #d7f87f;
$custom-light: #e5faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f87f",
  "rgb": {
    "r": 215,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 76.364,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93027,
    "c": 0.15207,
    "h": 122
  },
  "luminance": 0.83114
}

Semantic roles & 50–950 ramp

primary
#D7F87F
secondary
#6D46D5
accent
#00E63F
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D7F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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