#8CD240#8CD240

#8CD240 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 78.9% C 0.189 H 131.7°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#8CD240
RGBrgb(140, 210, 64)
HSLhsl(89, 62%, 54%)
HSVhsv(89, 70%, 82%)
CMYKcmyk(33.3%, 0%, 69.5%, 17.6%)
CIE-LABlab(77.30, -44.52, 62.23)
CIE-LCHlch(77.30, 76.51, 125.58°)
OKLaboklab(78.93% -0.1255 0.1407)
OKLCHoklch(78.93% 0.189 131.7)
XYZxyz(34.7868, 52.0375, 13.0609)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD240 #8640D2
analogous
#D2CF40 #8CD240 #43D240
triadic
#8CD240 #408CD2 #D2408C
tetradic
#8CD240 #40D2CF #8640D2 #D24043
square
#8CD240 #40D2CF #8640D2 #D24043
split-complementary
#8CD240 #4043D2 #CF40D2
monochromatic
#4E7B1D #6DAC29 #8CD240 #AADE72 #C8E9A3

Accessibility & contrast

On white

1.84
#8CD240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#8CD240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD240
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD240#FFFFFF#000000##000000
##8CD2401.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC229
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#8EC9B5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #8cd240;
/* rgb */ color: rgb(140, 210, 64);
/* oklch */ color: oklch(78.9% 0.189 131.7);
Tailwind
colors: {
  custom: {
    50: '#b2e07d',
    500: '#8cd240',
    950: '#000000',
  },
}
SCSS
$custom: #8cd240;
$custom-light: #b2e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd240",
  "rgb": {
    "r": 140,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 88.767,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78931,
    "c": 0.18854,
    "h": 131.7
  },
  "luminance": 0.52039
}

Semantic roles & 50–950 ramp

primary
#8CD240
secondary
#593483
accent
#43E591
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD240

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

Preview Lab → · Contrast checker → · Palette generator →

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