#8CC742#8CC742

#8CC742 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.3% C 0.173 H 130.2°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#8CC742
RGBrgb(140, 199, 66)
HSLhsl(87, 54%, 52%)
HSVhsv(87, 67%, 78%)
CMYKcmyk(29.6%, 0%, 66.8%, 22%)
CIE-LABlab(74.07, -39.60, 58.11)
CIE-LCHlch(74.07, 70.32, 124.27°)
OKLaboklab(76.31% -0.1119 0.1323)
OKLCHoklch(76.31% 0.173 130.2)
XYZxyz(32.2218, 46.8147, 12.4917)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CC742 #7D42C7
analogous
#C7C042 #8CC742 #49C742
triadic
#8CC742 #428CC7 #C7428C
tetradic
#8CC742 #42C7C0 #7D42C7 #C74249
square
#8CC742 #42C7C0 #7D42C7 #C74249
split-complementary
#8CC742 #4249C7 #C042C7
monochromatic
#4C6E21 #6C9D2F #8CC742 #A9D571 #C5E3A0

Accessibility & contrast

On white

2.03
#8CC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#8CC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CC742
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CC742#FFFFFF#000000##000000
##8CC7421.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#8FBFAC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #8cc742;
/* rgb */ color: rgb(140, 199, 66);
/* oklch */ color: oklch(76.3% 0.173 130.2);
Tailwind
colors: {
  custom: {
    50: '#b2d87d',
    500: '#8cc742',
    950: '#000000',
  },
}
SCSS
$custom: #8cc742;
$custom-light: #b2d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cc742",
  "rgb": {
    "r": 140,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 86.617,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76305,
    "c": 0.17331,
    "h": 130.2
  },
  "luminance": 0.46816
}

Semantic roles & 50–950 ramp

primary
#8CC742
secondary
#AF95D0
accent
#4ADE8C
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8CC742

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

Preview Lab → · Contrast checker → · Palette generator →

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