#8EC840#8EC840

#8EC840 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 76.6% C 0.175 H 129.7°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#8EC840
RGBrgb(142, 200, 64)
HSLhsl(86, 55%, 52%)
HSVhsv(86, 68%, 78%)
CMYKcmyk(29%, 0%, 68%, 21.6%)
CIE-LABlab(74.46, -39.45, 59.34)
CIE-LCHlch(74.46, 71.26, 123.61°)
OKLaboklab(76.65% -0.1118 0.1346)
OKLCHoklch(76.65% 0.175 129.7)
XYZxyz(32.7348, 47.4286, 12.2794)
Luminance0.4743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC840 #7A40C8
analogous
#C8BE40 #8EC840 #4AC840
triadic
#8EC840 #408EC8 #C8408E
tetradic
#8EC840 #40C8BE #7A40C8 #C8404A
square
#8EC840 #40C8BE #7A40C8 #C8404A
split-complementary
#8EC840 #404AC8 #BE40C8
monochromatic
#4D6E20 #6E9D2D #8EC840 #AAD670 #C6E39F

Accessibility & contrast

On white

2.00
#8EC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#8EC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC840
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC840#FFFFFF#000000##000000
##8EC8401.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#92BFAD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #8ec840;
/* rgb */ color: rgb(142, 200, 64);
/* oklch */ color: oklch(76.6% 0.175 129.7);
Tailwind
colors: {
  custom: {
    50: '#b3d97c',
    500: '#8ec840',
    950: '#000000',
  },
}
SCSS
$custom: #8ec840;
$custom-light: #b3d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec840",
  "rgb": {
    "r": 142,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 85.588,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76648,
    "c": 0.17498,
    "h": 129.7
  },
  "luminance": 0.4743
}

Semantic roles & 50–950 ramp

primary
#8EC840
secondary
#AE94D0
accent
#49DF89
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8EC840

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

Preview Lab → · Contrast checker → · Palette generator →

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