#D7F897#D7F897

#D7F897 is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.4% C 0.128 H 124.2°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#D7F897
RGBrgb(215, 248, 151)
HSLhsl(80, 87%, 78%)
HSVhsv(80, 39%, 97%)
CMYKcmyk(13.3%, 0%, 39.1%, 2.7%)
CIE-LABlab(93.37, -26.04, 43.08)
CIE-LCHlch(93.37, 50.34, 121.15°)
OKLaboklab(93.37% -0.0716 0.1055)
OKLCHoklch(93.37% 0.128 124.2)
XYZxyz(67.1773, 83.8159, 41.9112)
Luminance0.8382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F897 #B897F8
analogous
#F8E897 #D7F897 #A6F897
triadic
#D7F897 #97D7F8 #F897D7
tetradic
#D7F897 #97F8E8 #B897F8 #F897A6
square
#D7F897 #97F8E8 #B897F8 #F897A6
split-complementary
#D7F897 #97A6F8 #E897F8
monochromatic
#ABF024 #C1F45E #D7F897 #EDFCD0 #F4FDE2

Accessibility & contrast

On white

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

On black

17.76
#D7F897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F897
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F897#FFFFFF#000000##000000
##D7F8971.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#DDEFE0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7f897;
/* rgb */ color: rgb(215, 248, 151);
/* oklch */ color: oklch(93.4% 0.128 124.2);
Tailwind
colors: {
  custom: {
    50: '#e4fab7',
    500: '#d7f897',
    950: '#000000',
  },
}
SCSS
$custom: #d7f897;
$custom-light: #e4fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f897",
  "rgb": {
    "r": 215,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 80.412,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93372,
    "c": 0.12752,
    "h": 124.2
  },
  "luminance": 0.83816
}

Semantic roles & 50–950 ramp

primary
#D7F897
secondary
#865CD8
accent
#02E44F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D7F897

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

Preview Lab → · Contrast checker → · Palette generator →

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