#8EC740#8EC740

#8EC740 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.4% C 0.174 H 129.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#8EC740
RGBrgb(142, 199, 64)
HSLhsl(85, 55%, 52%)
HSVhsv(85, 68%, 78%)
CMYKcmyk(28.6%, 0%, 67.8%, 22%)
CIE-LABlab(74.17, -39.01, 59.04)
CIE-LCHlch(74.17, 70.76, 123.45°)
OKLaboklab(76.41% -0.1106 0.1339)
OKLCHoklch(76.41% 0.174 129.5)
XYZxyz(32.5040, 46.9669, 12.2025)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC740 #7940C7
analogous
#C7BC40 #8EC740 #4BC740
triadic
#8EC740 #408EC7 #C7408E
tetradic
#8EC740 #40C7BC #7940C7 #C7404B
square
#8EC740 #40C7BC #7940C7 #C7404B
split-complementary
#8EC740 #404BC7 #BC40C7
monochromatic
#4C6D20 #6D9C2E #8EC740 #AAD56F #C6E39F

Accessibility & contrast

On white

2.02
#8EC740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#8EC740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC740
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC740#FFFFFF#000000##000000
##8EC7401.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#92BFAC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #8ec740;
/* rgb */ color: rgb(142, 199, 64);
/* oklch */ color: oklch(76.4% 0.174 129.5);
Tailwind
colors: {
  custom: {
    50: '#b3d87c',
    500: '#8ec740',
    950: '#000000',
  },
}
SCSS
$custom: #8ec740;
$custom-light: #b3d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec740",
  "rgb": {
    "r": 142,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 85.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76409,
    "c": 0.1737,
    "h": 129.5
  },
  "luminance": 0.46968
}

Semantic roles & 50–950 ramp

primary
#8EC740
secondary
#AD94CF
accent
#4ADE88
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8EC740

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

Preview Lab → · Contrast checker → · Palette generator →

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