#8CCA42#8CCA42

#8CCA42 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.0% C 0.177 H 130.7°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#8CCA42
RGBrgb(140, 202, 66)
HSLhsl(87, 56%, 53%)
HSVhsv(87, 67%, 79%)
CMYKcmyk(30.7%, 0%, 67.3%, 20.8%)
CIE-LABlab(74.96, -40.92, 59.04)
CIE-LCHlch(74.96, 71.84, 124.73°)
OKLaboklab(77.03% -0.1155 0.1343)
OKLCHoklch(77.03% 0.177 130.7)
XYZxyz(32.9188, 48.2088, 12.7240)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CCA42 #8042CA
analogous
#CAC442 #8CCA42 #48CA42
triadic
#8CCA42 #428CCA #CA428C
tetradic
#8CCA42 #42CAC4 #8042CA #CA4248
square
#8CCA42 #42CAC4 #8042CA #CA4248
split-complementary
#8CCA42 #4248CA #C442CA
monochromatic
#4C7220 #6DA22D #8CCA42 #A9D772 #C6E5A2

Accessibility & contrast

On white

1.97
#8CCA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#8CCA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CCA42
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CCA42#FFFFFF#000000##000000
##8CCA421.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2F
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#8FC2AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8cca42;
/* rgb */ color: rgb(140, 202, 66);
/* oklch */ color: oklch(77.0% 0.177 130.7);
Tailwind
colors: {
  custom: {
    50: '#b2da7d',
    500: '#8cca42',
    950: '#000000',
  },
}
SCSS
$custom: #8cca42;
$custom-light: #b2da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cca42",
  "rgb": {
    "r": 140,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 87.353,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77025,
    "c": 0.17714,
    "h": 130.7
  },
  "luminance": 0.4821
}

Semantic roles & 50–950 ramp

primary
#8CCA42
secondary
#B196D1
accent
#48DF8D
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8CCA42

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

Preview Lab → · Contrast checker → · Palette generator →

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