#8CC942#8CC942

#8CC942 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 76.8% C 0.176 H 130.6°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#8CC942
RGBrgb(140, 201, 66)
HSLhsl(87, 56%, 52%)
HSVhsv(87, 67%, 79%)
CMYKcmyk(30.3%, 0%, 67.2%, 21.2%)
CIE-LABlab(74.66, -40.48, 58.73)
CIE-LCHlch(74.66, 71.33, 124.58°)
OKLaboklab(76.79% -0.1144 0.1336)
OKLCHoklch(76.79% 0.176 130.6)
XYZxyz(32.6850, 47.7411, 12.6461)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CC942 #7F42C9
analogous
#C9C342 #8CC942 #48C942
triadic
#8CC942 #428CC9 #C9428C
tetradic
#8CC942 #42C9C3 #7F42C9 #C94248
square
#8CC942 #42C9C3 #7F42C9 #C94248
split-complementary
#8CC942 #4248C9 #C342C9
monochromatic
#4C7020 #6CA02E #8CC942 #A9D772 #C6E4A1

Accessibility & contrast

On white

1.99
#8CC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#8CC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CC942
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CC942#FFFFFF#000000##000000
##8CC9421.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#8FC1AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8cc942;
/* rgb */ color: rgb(140, 201, 66);
/* oklch */ color: oklch(76.8% 0.176 130.6);
Tailwind
colors: {
  custom: {
    50: '#b2d97d',
    500: '#8cc942',
    950: '#000000',
  },
}
SCSS
$custom: #8cc942;
$custom-light: #b2d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cc942",
  "rgb": {
    "r": 140,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 87.111,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76785,
    "c": 0.17587,
    "h": 130.6
  },
  "luminance": 0.47742
}

Semantic roles & 50–950 ramp

primary
#8CC942
secondary
#B196D1
accent
#49DF8D
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8CC942

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

Preview Lab → · Contrast checker → · Palette generator →

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