#8EC342#8EC342

#8EC342 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.5% C 0.167 H 129.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#8EC342
RGBrgb(142, 195, 66)
HSLhsl(85, 52%, 51%)
HSVhsv(85, 66%, 76%)
CMYKcmyk(27.2%, 0%, 66.2%, 23.5%)
CIE-LABlab(73.01, -37.07, 57.03)
CIE-LCHlch(73.01, 68.02, 123.03°)
OKLaboklab(75.47% -0.1051 0.13)
OKLCHoklch(75.47% 0.167 129)
XYZxyz(31.6537, 45.1736, 12.2049)
Luminance0.4517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC342 #7742C3
analogous
#C3B742 #8EC342 #4DC342
triadic
#8EC342 #428EC3 #C3428E
tetradic
#8EC342 #42C3B7 #7742C3 #C3424D
square
#8EC342 #42C3B7 #7742C3 #C3424D
split-complementary
#8EC342 #424DC3 #B742C3
monochromatic
#4C6921 #6D9830 #8EC342 #AAD270 #C6E09F

Accessibility & contrast

On white

2.09
#8EC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#8EC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC342
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC342#FFFFFF#000000##000000
##8EC3421.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB630
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#92BBA9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #8ec342;
/* rgb */ color: rgb(142, 195, 66);
/* oklch */ color: oklch(75.5% 0.167 129.0);
Tailwind
colors: {
  custom: {
    50: '#b3d57d',
    500: '#8ec342',
    950: '#000000',
  },
}
SCSS
$custom: #8ec342;
$custom-light: #b3d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec342",
  "rgb": {
    "r": 142,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 84.651,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75469,
    "c": 0.16718,
    "h": 129
  },
  "luminance": 0.45174
}

Semantic roles & 50–950 ramp

primary
#8EC342
secondary
#AB94CD
accent
#4DDB87
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8EC342

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

Preview Lab → · Contrast checker → · Palette generator →

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