#8EC040#8EC040

#8EC040 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 74.7% C 0.165 H 128.2°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#8EC040
RGBrgb(142, 192, 64)
HSLhsl(83, 50%, 50%)
HSVhsv(83, 67%, 75%)
CMYKcmyk(26%, 0%, 66.7%, 24.7%)
CIE-LABlab(72.11, -35.86, 56.89)
CIE-LCHlch(72.11, 67.25, 122.23°)
OKLaboklab(74.74% -0.102 0.1294)
OKLCHoklch(74.74% 0.165 128.2)
XYZxyz(30.9303, 43.8195, 11.6779)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC040 #7240C0
analogous
#C0B240 #8EC040 #4EC040
triadic
#8EC040 #408EC0 #C0408E
tetradic
#8EC040 #40C0B2 #7240C0 #C0404E
square
#8EC040 #40C0B2 #7240C0 #C0404E
split-complementary
#8EC040 #404EC0 #B240C0
monochromatic
#4A6421 #6C9230 #8EC040 #A9CF6E #C4DE9C

Accessibility & contrast

On white

2.15
#8EC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#8EC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC040
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC040#FFFFFF#000000##000000
##8EC0401.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32E
Deuteranopia (green-blind)
#C2B04A
Tritanopia (blue-blind)
#93B8A6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #8ec040;
/* rgb */ color: rgb(142, 192, 64);
/* oklch */ color: oklch(74.7% 0.165 128.2);
Tailwind
colors: {
  custom: {
    50: '#b3d37b',
    500: '#8ec040',
    950: '#000000',
  },
}
SCSS
$custom: #8ec040;
$custom-light: #b3d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec040",
  "rgb": {
    "r": 142,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 83.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74736,
    "c": 0.16477,
    "h": 128.2
  },
  "luminance": 0.4382
}

Semantic roles & 50–950 ramp

primary
#8EC040
secondary
#A891CB
accent
#4EDA85
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8EC040

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

Preview Lab → · Contrast checker → · Palette generator →

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