#8EC791#8EC791

#8EC791 is a light, moderate green. Relative luminance 0.486; OKLCH L 77.6% C 0.096 H 145.9°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#8EC791
RGBrgb(142, 199, 145)
HSLhsl(123, 34%, 67%)
HSVhsv(123, 29%, 78%)
CMYKcmyk(28.6%, 0%, 27.1%, 22%)
CIE-LABlab(75.23, -29.17, 21.29)
CIE-LCHlch(75.23, 36.11, 143.88°)
OKLaboklab(77.61% -0.0797 0.054)
OKLCHoklch(77.61% 0.096 145.9)
XYZxyz(36.6880, 48.6405, 34.2381)
Luminance0.4864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC791 #C78EC4
analogous
#A8C78E #8EC791 #8EC7AE
triadic
#8EC791 #918EC7 #C7918E
tetradic
#8EC791 #8EA8C7 #C78EC4 #C7AE8E
square
#8EC791 #8EA8C7 #C78EC4 #C7AE8E
split-complementary
#8EC791 #AE8EC7 #C78EA8
monochromatic
#48924C #65B369 #8EC791 #B7DBB9 #E0F0E1

Accessibility & contrast

On white

1.96
#8EC791 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#8EC791 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC791
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC791#FFFFFF#000000##000000
##8EC7911.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BD8E
Deuteranopia (green-blind)
#C0B794
Tritanopia (blue-blind)
#88C4B8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #8ec791;
/* rgb */ color: rgb(142, 199, 145);
/* oklch */ color: oklch(77.6% 0.096 145.9);
Tailwind
colors: {
  custom: {
    50: '#b0d8b1',
    500: '#8ec791',
    950: '#000000',
  },
}
SCSS
$custom: #8ec791;
$custom-light: #b0d8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec791",
  "rgb": {
    "r": 142,
    "g": 199,
    "b": 145
  },
  "hsl": {
    "h": 123.158,
    "s": 33.728,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7761,
    "c": 0.09628,
    "h": 145.9
  },
  "luminance": 0.48642
}

Semantic roles & 50–950 ramp

primary
#8EC791
secondary
#E2CFE1
accent
#39A6AD
background
#FAFDFA
surface
#F5FAF5
border
#CFD3CF
text
#111410
muted
#80837F

Preview Lab

Preview with #8EC791

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

Preview Lab → · Contrast checker → · Palette generator →

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