#8CCC42#8CCC42

#8CCC42 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.5% C 0.180 H 131.0°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#8CCC42
RGBrgb(140, 204, 66)
HSLhsl(88, 58%, 53%)
HSVhsv(88, 68%, 80%)
CMYKcmyk(31.4%, 0%, 67.6%, 20%)
CIE-LABlab(75.55, -41.79, 59.66)
CIE-LCHlch(75.55, 72.84, 125.01°)
OKLaboklab(77.51% -0.1179 0.1356)
OKLCHoklch(77.51% 0.18 131)
XYZxyz(33.3911, 49.1534, 12.8815)
Luminance0.4915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CCC42 #8242CC
analogous
#CCC742 #8CCC42 #47CC42
triadic
#8CCC42 #428CCC #CC428C
tetradic
#8CCC42 #42CCC7 #8242CC #CC4247
square
#8CCC42 #42CCC7 #8242CC #CC4247
split-complementary
#8CCC42 #4247CC #C742CC
monochromatic
#4D741F #6DA42C #8CCC42 #A9D972 #C7E6A2

Accessibility & contrast

On white

1.94
#8CCC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#8CCC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CCC42
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CCC42#FFFFFF#000000##000000
##8CCC421.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#CCB84E
Tritanopia (blue-blind)
#8FC4B0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #8ccc42;
/* rgb */ color: rgb(140, 204, 66);
/* oklch */ color: oklch(77.5% 0.180 131.0);
Tailwind
colors: {
  custom: {
    50: '#b2dc7e',
    500: '#8ccc42',
    950: '#000000',
  },
}
SCSS
$custom: #8ccc42;
$custom-light: #b2dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ccc42",
  "rgb": {
    "r": 140,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 87.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77505,
    "c": 0.17968,
    "h": 131
  },
  "luminance": 0.49155
}

Semantic roles & 50–950 ramp

primary
#8CCC42
secondary
#B397D3
accent
#47E18E
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8CCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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