#D6F797#D6F797

#D6F797 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 93.1% C 0.127 H 124.3°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#D6F797
RGBrgb(214, 247, 151)
HSLhsl(81, 86%, 78%)
HSVhsv(81, 39%, 97%)
CMYKcmyk(13.4%, 0%, 38.9%, 3.1%)
CIE-LABlab(93.04, -25.94, 42.64)
CIE-LCHlch(93.04, 49.91, 121.31°)
OKLaboklab(93.09% -0.0712 0.1045)
OKLCHoklch(93.09% 0.127 124.3)
XYZxyz(66.5779, 83.0517, 41.7952)
Luminance0.8305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F797 #B897F7
analogous
#F7E897 #D6F797 #A6F797
triadic
#D6F797 #97D6F7 #F797D6
tetradic
#D6F797 #97F7E8 #B897F7 #F797A6
square
#D6F797 #97F7E8 #B897F7 #F797A6
split-complementary
#D6F797 #97A6F7 #E897F7
monochromatic
#A9EE25 #C0F35E #D6F797 #ECFBD0 #F4FDE3

Accessibility & contrast

On white

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

On black

17.61
#D6F797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F797
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F797#FFFFFF#000000##000000
##D6F7971.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FCEB9C
Tritanopia (blue-blind)
#DCEEDF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d6f797;
/* rgb */ color: rgb(214, 247, 151);
/* oklch */ color: oklch(93.1% 0.127 124.3);
Tailwind
colors: {
  custom: {
    50: '#e4fab7',
    500: '#d6f797',
    950: '#000000',
  },
}
SCSS
$custom: #d6f797;
$custom-light: #e4fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f797",
  "rgb": {
    "r": 214,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 80.625,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93088,
    "c": 0.1265,
    "h": 124.3
  },
  "luminance": 0.83052
}

Semantic roles & 50–950 ramp

primary
#D6F797
secondary
#865CD6
accent
#03E250
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D6F797

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

Preview Lab → · Contrast checker → · Palette generator →

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