#D7F97A#D7F97A

#D7F97A is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.2% C 0.158 H 121.9°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#D7F97A
RGBrgb(215, 249, 122)
HSLhsl(76, 91%, 73%)
HSVhsv(76, 51%, 98%)
CMYKcmyk(13.7%, 0%, 51%, 2.4%)
CIE-LABlab(93.28, -29.58, 56.70)
CIE-LCHlch(93.28, 63.95, 117.55°)
OKLaboklab(93.18% -0.0836 0.1342)
OKLCHoklch(93.18% 0.158 121.9)
XYZxyz(65.4132, 83.6035, 31.0996)
Luminance0.8360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F97A #9C7AF9
analogous
#F9DB7A #D7F97A #97F97A
triadic
#D7F97A #7AD7F9 #F97AD7
tetradic
#D7F97A #7AF9DB #9C7AF9 #F97A97
square
#D7F97A #7AF9DB #9C7AF9 #F97A97
split-complementary
#D7F97A #7A97F9 #DB7AF9
monochromatic
#B1EE0B #C5F63F #D7F97A #E9FCB5 #F6FEE2

Accessibility & contrast

On white

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

On black

17.72
#D7F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F97A
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F97A#FFFFFF#000000##000000
##D7F97A1.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#E0EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7f97a;
/* rgb */ color: rgb(215, 249, 122);
/* oklch */ color: oklch(93.2% 0.158 121.9);
Tailwind
colors: {
  custom: {
    50: '#e5fba3',
    500: '#d7f97a',
    950: '#000000',
  },
}
SCSS
$custom: #d7f97a;
$custom-light: #e5fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f97a",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 76.063,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93181,
    "c": 0.15809,
    "h": 121.9
  },
  "luminance": 0.83604
}

Semantic roles & 50–950 ramp

primary
#D7F97A
secondary
#6942D5
accent
#00E63D
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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