#8CD942#8CD942

#8CD942 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 80.6% C 0.196 H 132.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#8CD942
RGBrgb(140, 217, 66)
HSLhsl(91, 67%, 55%)
HSVhsv(91, 70%, 85%)
CMYKcmyk(35.5%, 0%, 69.6%, 14.9%)
CIE-LABlab(79.38, -47.33, 63.61)
CIE-LCHlch(79.38, 79.29, 126.65°)
OKLaboklab(80.63% -0.133 0.1439)
OKLCHoklch(80.63% 0.196 132.8)
XYZxyz(36.6109, 55.5930, 13.9547)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD942 #8F42D9
analogous
#D8D942 #8CD942 #42D943
triadic
#8CD942 #428CD9 #D9428C
tetradic
#8CD942 #42D8D9 #8F42D9 #D94342
square
#8CD942 #42D8D9 #8F42D9 #D94342
split-complementary
#8CD942 #4342D9 #D942D8
monochromatic
#4F861B #6DB925 #8CD942 #ABE375 #CAEDA8

Accessibility & contrast

On white

1.73
#8CD942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#8CD942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD942
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD942#FFFFFF#000000##000000
##8CD9421.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92A
Deuteranopia (green-blind)
#D7C350
Tritanopia (blue-blind)
#8DD0BB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #8cd942;
/* rgb */ color: rgb(140, 217, 66);
/* oklch */ color: oklch(80.6% 0.196 132.8);
Tailwind
colors: {
  custom: {
    50: '#b3e57f',
    500: '#8cd942',
    950: '#000000',
  },
}
SCSS
$custom: #8cd942;
$custom-light: #b3e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd942",
  "rgb": {
    "r": 140,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 90.596,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80631,
    "c": 0.19593,
    "h": 132.8
  },
  "luminance": 0.55595
}

Semantic roles & 50–950 ramp

primary
#8CD942
secondary
#60338C
accent
#3EE996
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160B
muted
#81847E

Preview Lab

Preview with #8CD942

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

Preview Lab → · Contrast checker → · Palette generator →

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