#8CD340#8CD340

#8CD340 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.2% C 0.190 H 131.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#8CD340
RGBrgb(140, 211, 64)
HSLhsl(89, 63%, 54%)
HSVhsv(89, 70%, 83%)
CMYKcmyk(33.6%, 0%, 69.7%, 17.3%)
CIE-LABlab(77.60, -44.94, 62.53)
CIE-LCHlch(77.60, 77.01, 125.70°)
OKLaboklab(79.17% -0.1267 0.1413)
OKLCHoklch(79.17% 0.19 131.9)
XYZxyz(35.0345, 52.5328, 13.1434)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD340 #8740D3
analogous
#D3D140 #8CD340 #43D340
triadic
#8CD340 #408CD3 #D3408C
tetradic
#8CD340 #40D3D1 #8740D3 #D34043
square
#8CD340 #40D3D1 #8740D3 #D34043
split-complementary
#8CD340 #4043D3 #D140D3
monochromatic
#4E7C1D #6DAE28 #8CD340 #AADE72 #C8EAA3

Accessibility & contrast

On white

1.83
#8CD340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#8CD340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD340
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD340#FFFFFF#000000##000000
##8CD3401.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#8ECAB6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #8cd340;
/* rgb */ color: rgb(140, 211, 64);
/* oklch */ color: oklch(79.2% 0.190 131.9);
Tailwind
colors: {
  custom: {
    50: '#b2e17d',
    500: '#8cd340',
    950: '#000000',
  },
}
SCSS
$custom: #8cd340;
$custom-light: #b2e17d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd340",
  "rgb": {
    "r": 140,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 88.98,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79172,
    "c": 0.18978,
    "h": 131.9
  },
  "luminance": 0.52534
}

Semantic roles & 50–950 ramp

primary
#8CD340
secondary
#5A3384
accent
#42E691
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD340

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

Preview Lab → · Contrast checker → · Palette generator →

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