#D7F97D#D7F97D

#D7F97D is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.2% C 0.155 H 122.1°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#D7F97D
RGBrgb(215, 249, 125)
HSLhsl(76, 91%, 73%)
HSVhsv(76, 50%, 98%)
CMYKcmyk(13.7%, 0%, 49.8%, 2.4%)
CIE-LABlab(93.31, -29.30, 55.37)
CIE-LCHlch(93.31, 62.64, 117.88°)
OKLaboklab(93.22% -0.0826 0.1315)
OKLCHoklch(93.22% 0.155 122.1)
XYZxyz(65.6020, 83.6790, 32.0937)
Luminance0.8368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F97D #9F7DF9
analogous
#F9DD7D #D7F97D #99F97D
triadic
#D7F97D #7DD7F9 #F97DD7
tetradic
#D7F97D #7DF9DD #9F7DF9 #F97D99
square
#D7F97D #7DF9DD #9F7DF9 #F97D99
split-complementary
#D7F97D #7D99F9 #DD7DF9
monochromatic
#B2F00B #C5F642 #D7F97D #E9FCB7 #F6FEE2

Accessibility & contrast

On white

1.18
#D7F97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#D7F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F97D
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F97D#FFFFFF#000000##000000
##D7F97D1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFEC84
Tritanopia (blue-blind)
#E0EEDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7f97d;
/* rgb */ color: rgb(215, 249, 125);
/* oklch */ color: oklch(93.2% 0.155 122.1);
Tailwind
colors: {
  custom: {
    50: '#e5fba5',
    500: '#d7f97d',
    950: '#000000',
  },
}
SCSS
$custom: #d7f97d;
$custom-light: #e5fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f97d",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 76.452,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93218,
    "c": 0.15527,
    "h": 122.1
  },
  "luminance": 0.83679
}

Semantic roles & 50–950 ramp

primary
#D7F97D
secondary
#6C44D6
accent
#00E63F
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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