#D7F896#D7F896

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

Color values

HEX#D7F896
RGBrgb(215, 248, 150)
HSLhsl(80, 88%, 78%)
HSVhsv(80, 40%, 97%)
CMYKcmyk(13.3%, 0%, 39.5%, 2.7%)
CIE-LABlab(93.36, -26.16, 43.55)
CIE-LCHlch(93.36, 50.81, 120.99°)
OKLaboklab(93.36% -0.072 0.1066)
OKLCHoklch(93.36% 0.129 124)
XYZxyz(67.0964, 83.7836, 41.4853)
Luminance0.8378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F896 #B796F8
analogous
#F8E896 #D7F896 #A6F896
triadic
#D7F896 #96D7F8 #F896D7
tetradic
#D7F896 #96F8E8 #B796F8 #F896A6
square
#D7F896 #96F8E8 #B796F8 #F896A6
split-complementary
#D7F896 #96A6F8 #E896F8
monochromatic
#ABF023 #C1F45D #D7F896 #EDFCCF #F4FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7F896#FFFFFF#000000##000000
##D7F8961.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)
#FFED8F
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#DDEFE0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7f896;
/* rgb */ color: rgb(215, 248, 150);
/* oklch */ color: oklch(93.4% 0.129 124.0);
Tailwind
colors: {
  custom: {
    50: '#e4fab6',
    500: '#d7f896',
    950: '#000000',
  },
}
SCSS
$custom: #d7f896;
$custom-light: #e4fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f896",
  "rgb": {
    "r": 215,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 80.204,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93356,
    "c": 0.12859,
    "h": 124
  },
  "luminance": 0.83784
}

Semantic roles & 50–950 ramp

primary
#D7F896
secondary
#855BD8
accent
#01E44E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D7F896

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

Preview Lab → · Contrast checker → · Palette generator →

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