#D7FA97#D7FA97

#D7FA97 is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.8% C 0.130 H 124.7°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#D7FA97
RGBrgb(215, 250, 151)
HSLhsl(81, 91%, 79%)
HSVhsv(81, 40%, 98%)
CMYKcmyk(14%, 0%, 39.6%, 2%)
CIE-LABlab(93.91, -26.99, 43.77)
CIE-LCHlch(93.91, 51.42, 121.66°)
OKLaboklab(93.8% -0.0742 0.1071)
OKLCHoklch(93.8% 0.13 124.7)
XYZxyz(67.7955, 85.0523, 42.1172)
Luminance0.8505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7FA97 #BA97FA
analogous
#FAEB97 #D7FA97 #A5FA97
triadic
#D7FA97 #97D7FA #FA97D7
tetradic
#D7FA97 #97FAEB #BA97FA #FA97A5
square
#D7FA97 #97FAEB #BA97FA #FA97A5
split-complementary
#D7FA97 #97A5FA #EB97FA
monochromatic
#AAF422 #C1F75D #D7FA97 #EDFDD1 #F4FEE2

Accessibility & contrast

On white

1.17
#D7FA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#D7FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7FA97
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7FA97#FFFFFF#000000##000000
##D7FA971.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF90
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#DDF1E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d7fa97;
/* rgb */ color: rgb(215, 250, 151);
/* oklch */ color: oklch(93.8% 0.130 124.7);
Tailwind
colors: {
  custom: {
    50: '#e4fcb7',
    500: '#d7fa97',
    950: '#000000',
  },
}
SCSS
$custom: #d7fa97;
$custom-light: #e4fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d7fa97",
  "rgb": {
    "r": 215,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 81.212,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93801,
    "c": 0.13031,
    "h": 124.7
  },
  "luminance": 0.85053
}

Semantic roles & 50–950 ramp

primary
#D7FA97
secondary
#885BDA
accent
#00E651
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D7FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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