#8CC042#8CC042

#8CC042 is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 74.6% C 0.164 H 129.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#8CC042
RGBrgb(140, 192, 66)
HSLhsl(85, 50%, 51%)
HSVhsv(85, 66%, 75%)
CMYKcmyk(27.1%, 0%, 65.6%, 24.7%)
CIE-LABlab(72.01, -36.47, 55.93)
CIE-LCHlch(72.01, 66.77, 123.10°)
OKLaboklab(74.63% -0.1034 0.1277)
OKLCHoklch(74.63% 0.164 129)
XYZxyz(30.6481, 43.6673, 11.9671)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CC042 #7642C0
analogous
#C0B542 #8CC042 #4DC042
triadic
#8CC042 #428CC0 #C0428C
tetradic
#8CC042 #42C0B5 #7642C0 #C0424D
square
#8CC042 #42C0B5 #7642C0 #C0424D
split-complementary
#8CC042 #424DC0 #B542C0
monochromatic
#4A6622 #6B9431 #8CC042 #A8CF70 #C4DF9E

Accessibility & contrast

On white

2.16
#8CC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#8CC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CC042
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CC042#FFFFFF#000000##000000
##8CC0421.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#C2AF4C
Tritanopia (blue-blind)
#90B8A6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #8cc042;
/* rgb */ color: rgb(140, 192, 66);
/* oklch */ color: oklch(74.6% 0.164 129.0);
Tailwind
colors: {
  custom: {
    50: '#b1d37c',
    500: '#8cc042',
    950: '#000000',
  },
}
SCSS
$custom: #8cc042;
$custom-light: #b1d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#8cc042",
  "rgb": {
    "r": 140,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 84.762,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74627,
    "c": 0.1643,
    "h": 129
  },
  "luminance": 0.43668
}

Semantic roles & 50–950 ramp

primary
#8CC042
secondary
#AA93CB
accent
#4EDA88
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8CC042

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

Preview Lab → · Contrast checker → · Palette generator →

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