#8CD940#8CD940

#8CD940 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 80.6% C 0.197 H 132.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#8CD940
RGBrgb(140, 217, 64)
HSLhsl(90, 67%, 55%)
HSVhsv(90, 71%, 85%)
CMYKcmyk(35.5%, 0%, 70.5%, 14.9%)
CIE-LABlab(79.37, -47.46, 64.33)
CIE-LCHlch(79.37, 79.95, 126.42°)
OKLaboklab(80.62% -0.1335 0.1451)
OKLCHoklch(80.62% 0.197 132.6)
XYZxyz(36.5530, 55.5698, 13.6496)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD940 #8D40D9
analogous
#D8D940 #8CD940 #40D940
triadic
#8CD940 #408CD9 #D9408C
tetradic
#8CD940 #40D8D9 #8D40D9 #D94040
square
#8CD940 #40D8D9 #8D40D9 #D94040
split-complementary
#8CD940 #4040D9 #D940D8
monochromatic
#4F841A #6DB724 #8CD940 #ABE373 #C9EDA6

Accessibility & contrast

On white

1.73
#8CD940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#8CD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD940
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD940#FFFFFF#000000##000000
##8CD9401.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C826
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#8DD0BB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #8cd940;
/* rgb */ color: rgb(140, 217, 64);
/* oklch */ color: oklch(80.6% 0.197 132.6);
Tailwind
colors: {
  custom: {
    50: '#b3e57e',
    500: '#8cd940',
    950: '#000000',
  },
}
SCSS
$custom: #8cd940;
$custom-light: #b3e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd940",
  "rgb": {
    "r": 140,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 90.196,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80616,
    "c": 0.19718,
    "h": 132.6
  },
  "luminance": 0.55571
}

Semantic roles & 50–950 ramp

primary
#8CD940
secondary
#5F328B
accent
#3EEA94
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160A
muted
#81847D

Preview Lab

Preview with #8CD940

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

Preview Lab → · Contrast checker → · Palette generator →

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