#8EC781#8EC781

#8EC781 is a light, moderate green. Relative luminance 0.482; OKLCH L 77.3% C 0.113 H 139.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#8EC781
RGBrgb(142, 199, 129)
HSLhsl(109, 38%, 64%)
HSVhsv(109, 35%, 78%)
CMYKcmyk(28.6%, 0%, 35.2%, 22%)
CIE-LABlab(74.94, -31.76, 29.32)
CIE-LCHlch(74.94, 43.23, 137.29°)
OKLaboklab(77.28% -0.0866 0.0731)
OKLCHoklch(77.28% 0.113 139.8)
XYZxyz(35.5400, 48.1813, 28.1920)
Luminance0.4818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC781 #BA81C7
analogous
#B1C781 #8EC781 #81C797
triadic
#8EC781 #818EC7 #C7818E
tetradic
#8EC781 #81B1C7 #BA81C7 #C79781
square
#8EC781 #81B1C7 #BA81C7 #C79781
split-complementary
#8EC781 #9781C7 #C781B1
monochromatic
#4E8E3F #68B457 #8EC781 #B4DAAB #DAEDD6

Accessibility & contrast

On white

1.97
#8EC781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#8EC781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC781
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC781#FFFFFF#000000##000000
##8EC7811.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBC7C
Deuteranopia (green-blind)
#C2B685
Tritanopia (blue-blind)
#8BC3B5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8ec781;
/* rgb */ color: rgb(142, 199, 129);
/* oklch */ color: oklch(77.3% 0.113 139.8);
Tailwind
colors: {
  custom: {
    50: '#b1d8a6',
    500: '#8ec781',
    950: '#000000',
  },
}
SCSS
$custom: #8ec781;
$custom-light: #b1d8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec781",
  "rgb": {
    "r": 142,
    "g": 199,
    "b": 129
  },
  "hsl": {
    "h": 108.857,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.77283,
    "c": 0.11337,
    "h": 139.8
  },
  "luminance": 0.48183
}

Semantic roles & 50–950 ramp

primary
#8EC781
secondary
#DAC6DE
accent
#34B19A
background
#FBFDFA
surface
#F6FAF4
border
#D0D3CE
text
#11140F
muted
#80837F

Preview Lab

Preview with #8EC781

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

Preview Lab → · Contrast checker → · Palette generator →

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