#8CD797#8CD797

#8CD797 is a light, moderate green. Relative luminance 0.564; OKLCH L 81.3% C 0.117 H 148.1°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#8CD797
RGBrgb(140, 215, 151)
HSLhsl(129, 48%, 70%)
HSVhsv(129, 35%, 84%)
CMYKcmyk(34.9%, 0%, 29.8%, 15.7%)
CIE-LABlab(79.85, -36.26, 24.42)
CIE-LCHlch(79.85, 43.72, 146.04°)
OKLaboklab(81.35% -0.099 0.0617)
OKLCHoklch(81.35% 0.117 148.1)
XYZxyz(40.6995, 56.4086, 38.0156)
Luminance0.5641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD797 #D78CCC
analogous
#A7D78C #8CD797 #8CD7BD
triadic
#8CD797 #978CD7 #D7978C
tetradic
#8CD797 #8CA7D7 #D78CCC #D7BD8C
square
#8CD797 #8CA7D7 #D78CCC #D7BD8C
split-complementary
#8CD797 #BD8CD7 #D78CA7
monochromatic
#3CAD4D #5FC76E #8CD797 #B9E7C0 #E7F7E9

Accessibility & contrast

On white

1.71
#8CD797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#8CD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD797
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD797#FFFFFF#000000##000000
##8CD7971.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CB93
Deuteranopia (green-blind)
#CDC39B
Tritanopia (blue-blind)
#82D4C6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #8cd797;
/* rgb */ color: rgb(140, 215, 151);
/* oklch */ color: oklch(81.3% 0.117 148.1);
Tailwind
colors: {
  custom: {
    50: '#b0e3b6',
    500: '#8cd797',
    950: '#000000',
  },
}
SCSS
$custom: #8cd797;
$custom-light: #b0e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd797",
  "rgb": {
    "r": 140,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 128.8,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81349,
    "c": 0.11669,
    "h": 148.1
  },
  "luminance": 0.56411
}

Semantic roles & 50–950 ramp

primary
#8CD797
secondary
#AD5AA1
accent
#2AA6BC
background
#FDFEFD
surface
#F8FCF8
border
#D1D5D1
text
#111511
muted
#818481

Preview Lab

Preview with #8CD797

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

Preview Lab → · Contrast checker → · Palette generator →

#8CD797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva