#D7F97B#D7F97B

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

Color values

HEX#D7F97B
RGBrgb(215, 249, 123)
HSLhsl(76, 91%, 73%)
HSVhsv(76, 51%, 98%)
CMYKcmyk(13.7%, 0%, 50.6%, 2.4%)
CIE-LABlab(93.29, -29.49, 56.25)
CIE-LCHlch(93.29, 63.51, 117.66°)
OKLaboklab(93.19% -0.0833 0.1333)
OKLCHoklch(93.19% 0.157 122)
XYZxyz(65.4755, 83.6284, 31.4276)
Luminance0.8363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F97B #9D7BF9
analogous
#F9DC7B #D7F97B #98F97B
triadic
#D7F97B #7BD7F9 #F97BD7
tetradic
#D7F97B #7BF9DC #9D7BF9 #F97B98
square
#D7F97B #7BF9DC #9D7BF9 #F97B98
split-complementary
#D7F97B #7B98F9 #DC7BF9
monochromatic
#B1EF0B #C5F640 #D7F97B #E9FCB6 #F6FEE2

Accessibility & contrast

On white

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

On black

17.73
#D7F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F97B
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F97B#FFFFFF#000000##000000
##D7F97B1.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7f97b;
/* rgb */ color: rgb(215, 249, 123);
/* oklch */ color: oklch(93.2% 0.157 122.0);
Tailwind
colors: {
  custom: {
    50: '#e5fba4',
    500: '#d7f97b',
    950: '#000000',
  },
}
SCSS
$custom: #d7f97b;
$custom-light: #e5fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f97b",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 76.19,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93193,
    "c": 0.15715,
    "h": 122
  },
  "luminance": 0.83628
}

Semantic roles & 50–950 ramp

primary
#D7F97B
secondary
#6A43D6
accent
#00E63E
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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