#8CD040#8CD040

#8CD040 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.5% C 0.186 H 131.5°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#8CD040
RGBrgb(140, 208, 64)
HSLhsl(88, 61%, 53%)
HSVhsv(88, 69%, 82%)
CMYKcmyk(32.7%, 0%, 69.2%, 18.4%)
CIE-LABlab(76.71, -43.66, 61.63)
CIE-LCHlch(76.71, 75.53, 125.32°)
OKLaboklab(78.45% -0.1232 0.1394)
OKLCHoklch(78.45% 0.186 131.5)
XYZxyz(34.2962, 51.0561, 12.8973)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD040 #8440D0
analogous
#D0CC40 #8CD040 #44D040
triadic
#8CD040 #408CD0 #D0408C
tetradic
#8CD040 #40D0CC #8440D0 #D04044
square
#8CD040 #40D0CC #8440D0 #D04044
split-complementary
#8CD040 #4044D0 #CC40D0
monochromatic
#4D781E #6DA92A #8CD040 #AADC71 #C7E8A2

Accessibility & contrast

On white

1.87
#8CD040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#8CD040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD040
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD040#FFFFFF#000000##000000
##8CD0401.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C129
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#8EC7B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8cd040;
/* rgb */ color: rgb(140, 208, 64);
/* oklch */ color: oklch(78.5% 0.186 131.5);
Tailwind
colors: {
  custom: {
    50: '#b2df7d',
    500: '#8cd040',
    950: '#000000',
  },
}
SCSS
$custom: #8cd040;
$custom-light: #b2df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd040",
  "rgb": {
    "r": 140,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 88.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7845,
    "c": 0.18604,
    "h": 131.5
  },
  "luminance": 0.51057
}

Semantic roles & 50–950 ramp

primary
#8CD040
secondary
#583480
accent
#44E48F
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD040

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

Preview Lab → · Contrast checker → · Palette generator →

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