#8ED840#8ED840

#8ED840 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 80.5% C 0.195 H 132.1°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#8ED840
RGBrgb(142, 216, 64)
HSLhsl(89, 66%, 55%)
HSVhsv(89, 70%, 85%)
CMYKcmyk(34.3%, 0%, 70.4%, 15.3%)
CIE-LABlab(79.17, -46.35, 64.17)
CIE-LCHlch(79.17, 79.16, 125.84°)
OKLaboklab(80.48% -0.1306 0.1447)
OKLCHoklch(80.48% 0.195 132.1)
XYZxyz(36.6362, 55.2312, 13.5799)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ED840 #8A40D8
analogous
#D8D640 #8ED840 #42D840
triadic
#8ED840 #408ED8 #D8408E
tetradic
#8ED840 #40D8D6 #8A40D8 #D84042
square
#8ED840 #40D8D6 #8A40D8 #D84042
split-complementary
#8ED840 #4042D8 #D640D8
monochromatic
#50831B #6FB625 #8ED840 #ACE273 #CAEDA6

Accessibility & contrast

On white

1.74
#8ED840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#8ED840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ED840
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ED840#FFFFFF#000000##000000
##8ED8401.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C827
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#90CFBA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #8ed840;
/* rgb */ color: rgb(142, 216, 64);
/* oklch */ color: oklch(80.5% 0.195 132.1);
Tailwind
colors: {
  custom: {
    50: '#b4e47e',
    500: '#8ed840',
    950: '#000000',
  },
}
SCSS
$custom: #8ed840;
$custom-light: #b4e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ed840",
  "rgb": {
    "r": 142,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 89.211,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80484,
    "c": 0.19495,
    "h": 132.1
  },
  "luminance": 0.55233
}

Semantic roles & 50–950 ramp

primary
#8ED840
secondary
#5D338A
accent
#3FE992
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #8ED840

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

Preview Lab → · Contrast checker → · Palette generator →

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