#8EC381#8EC381

#8EC381 is a light, moderate green. Relative luminance 0.464; OKLCH L 76.3% C 0.107 H 139.5°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#8EC381
RGBrgb(142, 195, 129)
HSLhsl(108, 35%, 64%)
HSVhsv(108, 34%, 76%)
CMYKcmyk(27.2%, 0%, 33.8%, 23.5%)
CIE-LABlab(73.78, -29.87, 27.78)
CIE-LCHlch(73.78, 40.79, 137.07°)
OKLaboklab(76.35% -0.0814 0.0695)
OKLCHoklch(76.35% 0.107 139.5)
XYZxyz(34.6317, 46.3648, 27.8892)
Luminance0.4637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC381 #B681C3
analogous
#AFC381 #8EC381 #81C395
triadic
#8EC381 #818EC3 #C3818E
tetradic
#8EC381 #81AFC3 #B681C3 #C39581
square
#8EC381 #81AFC3 #B681C3 #C39581
split-complementary
#8EC381 #9581C3 #C381AF
monochromatic
#4F8941 #69AF58 #8EC381 #B3D7AA #D8EAD4

Accessibility & contrast

On white

2.04
#8EC381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#8EC381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC381
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC381#FFFFFF#000000##000000
##8EC3811.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B87D
Deuteranopia (green-blind)
#BFB385
Tritanopia (blue-blind)
#8BBFB2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #8ec381;
/* rgb */ color: rgb(142, 195, 129);
/* oklch */ color: oklch(76.3% 0.107 139.5);
Tailwind
colors: {
  custom: {
    50: '#b0d5a6',
    500: '#8ec381',
    950: '#000000',
  },
}
SCSS
$custom: #8ec381;
$custom-light: #b0d5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec381",
  "rgb": {
    "r": 142,
    "g": 195,
    "b": 129
  },
  "hsl": {
    "h": 108.182,
    "s": 35.484,
    "l": 63.529
  },
  "oklch": {
    "l": 0.76349,
    "c": 0.10705,
    "h": 139.5
  },
  "luminance": 0.46366
}

Semantic roles & 50–950 ramp

primary
#8EC381
secondary
#D7C4DC
accent
#37AE97
background
#FBFDFA
surface
#F6FAF4
border
#D0D3CE
text
#11140F
muted
#80837F

Preview Lab

Preview with #8EC381

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

Preview Lab → · Contrast checker → · Palette generator →

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