#8CC542#8CC542

#8CC542 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 75.8% C 0.171 H 129.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#8CC542
RGBrgb(140, 197, 66)
HSLhsl(86, 53%, 52%)
HSVhsv(86, 66%, 77%)
CMYKcmyk(28.9%, 0%, 66.5%, 22.7%)
CIE-LABlab(73.48, -38.71, 57.49)
CIE-LCHlch(73.48, 69.31, 123.95°)
OKLaboklab(75.83% -0.1095 0.131)
OKLCHoklch(75.83% 0.171 129.9)
XYZxyz(31.7646, 45.9004, 12.3393)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CC542 #7B42C5
analogous
#C5BD42 #8CC542 #4BC542
triadic
#8CC542 #428CC5 #C5428C
tetradic
#8CC542 #42C5BD #7B42C5 #C5424B
square
#8CC542 #42C5BD #7B42C5 #C5424B
split-complementary
#8CC542 #424BC5 #BD42C5
monochromatic
#4B6C21 #6C9A2F #8CC542 #A8D371 #C5E2A0

Accessibility & contrast

On white

2.06
#8CC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#8CC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CC542
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CC542#FFFFFF#000000##000000
##8CC5421.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#8FBDAA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #8cc542;
/* rgb */ color: rgb(140, 197, 66);
/* oklch */ color: oklch(75.8% 0.171 129.9);
Tailwind
colors: {
  custom: {
    50: '#b1d77d',
    500: '#8cc542',
    950: '#000000',
  },
}
SCSS
$custom: #8cc542;
$custom-light: #b1d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cc542",
  "rgb": {
    "r": 140,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 86.107,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75825,
    "c": 0.17074,
    "h": 129.9
  },
  "luminance": 0.45901
}

Semantic roles & 50–950 ramp

primary
#8CC542
secondary
#AE95CE
accent
#4BDC8A
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8CC542

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

Preview Lab → · Contrast checker → · Palette generator →

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