#8CD840#8CD840

#8CD840 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 80.4% C 0.196 H 132.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#8CD840
RGBrgb(140, 216, 64)
HSLhsl(90, 66%, 55%)
HSVhsv(90, 70%, 85%)
CMYKcmyk(35.2%, 0%, 70.4%, 15.3%)
CIE-LABlab(79.07, -47.05, 64.03)
CIE-LCHlch(79.07, 79.46, 126.31°)
OKLaboklab(80.38% -0.1324 0.1445)
OKLCHoklch(80.38% 0.196 132.5)
XYZxyz(36.2960, 55.0558, 13.5639)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD840 #8C40D8
analogous
#D8D840 #8CD840 #40D840
triadic
#8CD840 #408CD8 #D8408C
tetradic
#8CD840 #40D8D8 #8C40D8 #D84040
square
#8CD840 #40D8D8 #8C40D8 #D84040
split-complementary
#8CD840 #4040D8 #D840D8
monochromatic
#4F831B #6DB625 #8CD840 #ABE273 #C9EDA6

Accessibility & contrast

On white

1.75
#8CD840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#8CD840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD840
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD840#FFFFFF#000000##000000
##8CD8401.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C827
Deuteranopia (green-blind)
#D6C24E
Tritanopia (blue-blind)
#8DCFBA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #8cd840;
/* rgb */ color: rgb(140, 216, 64);
/* oklch */ color: oklch(80.4% 0.196 132.5);
Tailwind
colors: {
  custom: {
    50: '#b3e47e',
    500: '#8cd840',
    950: '#000000',
  },
}
SCSS
$custom: #8cd840;
$custom-light: #b3e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd840",
  "rgb": {
    "r": 140,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 90,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80375,
    "c": 0.19595,
    "h": 132.5
  },
  "luminance": 0.55057
}

Semantic roles & 50–950 ramp

primary
#8CD840
secondary
#5E338A
accent
#3FE994
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD840

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

Preview Lab → · Contrast checker → · Palette generator →

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