#8CC940#8CC940

#8CC940 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 76.8% C 0.177 H 130.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#8CC940
RGBrgb(140, 201, 64)
HSLhsl(87, 56%, 52%)
HSVhsv(87, 68%, 79%)
CMYKcmyk(30.3%, 0%, 68.2%, 21.2%)
CIE-LABlab(74.65, -40.63, 59.50)
CIE-LCHlch(74.65, 72.05, 124.33°)
OKLaboklab(76.77% -0.1149 0.1349)
OKLCHoklch(76.77% 0.177 130.4)
XYZxyz(32.6270, 47.7179, 12.3409)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CC940 #7D40C9
analogous
#C9C140 #8CC940 #48C940
triadic
#8CC940 #408CC9 #C9408C
tetradic
#8CC940 #40C9C1 #7D40C9 #C94048
square
#8CC940 #40C9C1 #7D40C9 #C94048
split-complementary
#8CC940 #4048C9 #C140C9
monochromatic
#4C6F1F #6C9F2D #8CC940 #A9D670 #C5E49F

Accessibility & contrast

On white

1.99
#8CC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#8CC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CC940
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CC940#FFFFFF#000000##000000
##8CC9401.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#8FC1AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8cc940;
/* rgb */ color: rgb(140, 201, 64);
/* oklch */ color: oklch(76.8% 0.177 130.4);
Tailwind
colors: {
  custom: {
    50: '#b2d97c',
    500: '#8cc940',
    950: '#000000',
  },
}
SCSS
$custom: #8cc940;
$custom-light: #b2d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#8cc940",
  "rgb": {
    "r": 140,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 86.715,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76768,
    "c": 0.17725,
    "h": 130.4
  },
  "luminance": 0.47719
}

Semantic roles & 50–950 ramp

primary
#8CC940
secondary
#AF94D0
accent
#49DF8C
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8CC940

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

Preview Lab → · Contrast checker → · Palette generator →

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