#8CD796#8CD796

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

Color values

HEX#8CD796
RGBrgb(140, 215, 150)
HSLhsl(128, 48%, 70%)
HSVhsv(128, 35%, 84%)
CMYKcmyk(34.9%, 0%, 30.2%, 15.7%)
CIE-LABlab(79.83, -36.43, 24.92)
CIE-LCHlch(79.83, 44.14, 145.63°)
OKLaboklab(81.33% -0.0995 0.0629)
OKLCHoklch(81.33% 0.118 147.7)
XYZxyz(40.6186, 56.3762, 37.5897)
Luminance0.5638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD796 #D78CCD
analogous
#A8D78C #8CD796 #8CD7BC
triadic
#8CD796 #968CD7 #D7968C
tetradic
#8CD796 #8CA8D7 #D78CCD #D7BC8C
square
#8CD796 #8CA8D7 #D78CCD #D7BC8C
split-complementary
#8CD796 #BC8CD7 #D78CA8
monochromatic
#3CAD4B #5FC76D #8CD796 #B9E7BF #E7F7E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CD796#FFFFFF#000000##000000
##8CD7961.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)
#D9CB92
Deuteranopia (green-blind)
#CDC39A
Tritanopia (blue-blind)
#82D4C6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #8cd796;
/* rgb */ color: rgb(140, 215, 150);
/* oklch */ color: oklch(81.3% 0.118 147.7);
Tailwind
colors: {
  custom: {
    50: '#b0e3b5',
    500: '#8cd796',
    950: '#000000',
  },
}
SCSS
$custom: #8cd796;
$custom-light: #b0e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd796",
  "rgb": {
    "r": 140,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 128,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81328,
    "c": 0.1177,
    "h": 147.7
  },
  "luminance": 0.56378
}

Semantic roles & 50–950 ramp

primary
#8CD796
secondary
#AD5AA2
accent
#2AA8BC
background
#FDFEFD
surface
#F8FCF8
border
#D1D5D1
text
#111511
muted
#818481

Preview Lab

Preview with #8CD796

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

Preview Lab → · Contrast checker → · Palette generator →

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