#8CD798#8CD798

#8CD798 is a light, moderate green. Relative luminance 0.564; OKLCH L 81.4% C 0.116 H 148.5°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#8CD798
RGBrgb(140, 215, 152)
HSLhsl(130, 48%, 70%)
HSVhsv(130, 35%, 84%)
CMYKcmyk(34.9%, 0%, 29.3%, 15.7%)
CIE-LABlab(79.86, -36.09, 23.92)
CIE-LCHlch(79.86, 43.30, 146.46°)
OKLaboklab(81.37% -0.0986 0.0605)
OKLCHoklch(81.37% 0.116 148.5)
XYZxyz(40.7810, 56.4412, 38.4451)
Luminance0.5644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD798 #D78CCB
analogous
#A6D78C #8CD798 #8CD7BE
triadic
#8CD798 #988CD7 #D7988C
tetradic
#8CD798 #8CA6D7 #D78CCB #D7BE8C
square
#8CD798 #8CA6D7 #D78CCB #D7BE8C
split-complementary
#8CD798 #BE8CD7 #D78CA6
monochromatic
#3CAD4E #5FC76F #8CD798 #B9E7C1 #E7F7E9

Accessibility & contrast

On white

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

On black

12.29
#8CD798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD798
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD798#FFFFFF#000000##000000
##8CD7981.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CB94
Deuteranopia (green-blind)
#CDC39C
Tritanopia (blue-blind)
#81D4C6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #8cd798;
/* rgb */ color: rgb(140, 215, 152);
/* oklch */ color: oklch(81.4% 0.116 148.5);
Tailwind
colors: {
  custom: {
    50: '#b0e3b6',
    500: '#8cd798',
    950: '#000000',
  },
}
SCSS
$custom: #8cd798;
$custom-light: #b0e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd798",
  "rgb": {
    "r": 140,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 129.6,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8137,
    "c": 0.1157,
    "h": 148.5
  },
  "luminance": 0.56443
}

Semantic roles & 50–950 ramp

primary
#8CD798
secondary
#AD5AA0
accent
#2AA4BC
background
#FDFEFD
surface
#F8FCF8
border
#D1D5D1
text
#111511
muted
#818481

Preview Lab

Preview with #8CD798

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

Preview Lab → · Contrast checker → · Palette generator →

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