#8CC342#8CC342

#8CC342 is a light, vivid yellow-green. Relative luminance 0.450; OKLCH L 75.3% C 0.168 H 129.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#8CC342
RGBrgb(140, 195, 66)
HSLhsl(86, 52%, 51%)
HSVhsv(86, 66%, 76%)
CMYKcmyk(28.2%, 0%, 66.2%, 23.5%)
CIE-LABlab(72.89, -37.82, 56.87)
CIE-LCHlch(72.89, 68.30, 123.62°)
OKLaboklab(75.35% -0.1071 0.1297)
OKLCHoklch(75.35% 0.168 129.5)
XYZxyz(31.3135, 44.9982, 12.1889)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CC342 #7942C3
analogous
#C3B942 #8CC342 #4BC342
triadic
#8CC342 #428CC3 #C3428C
tetradic
#8CC342 #42C3B9 #7942C3 #C3424B
square
#8CC342 #42C3B9 #7942C3 #C3424B
split-complementary
#8CC342 #424BC3 #B942C3
monochromatic
#4B6921 #6C9830 #8CC342 #A8D270 #C5E09F

Accessibility & contrast

On white

2.10
#8CC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#8CC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CC342
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CC342#FFFFFF#000000##000000
##8CC3421.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB530
Deuteranopia (green-blind)
#C4B24C
Tritanopia (blue-blind)
#90BBA9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #8cc342;
/* rgb */ color: rgb(140, 195, 66);
/* oklch */ color: oklch(75.3% 0.168 129.5);
Tailwind
colors: {
  custom: {
    50: '#b1d57d',
    500: '#8cc342',
    950: '#000000',
  },
}
SCSS
$custom: #8cc342;
$custom-light: #b1d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cc342",
  "rgb": {
    "r": 140,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 85.581,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75345,
    "c": 0.16818,
    "h": 129.5
  },
  "luminance": 0.44999
}

Semantic roles & 50–950 ramp

primary
#8CC342
secondary
#AC94CD
accent
#4DDB89
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8CC342

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

Preview Lab → · Contrast checker → · Palette generator →

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