#8ED940#8ED940

#8ED940 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 80.7% C 0.196 H 132.2°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#8ED940
RGBrgb(142, 217, 64)
HSLhsl(89, 67%, 55%)
HSVhsv(89, 71%, 85%)
CMYKcmyk(34.6%, 0%, 70.5%, 14.9%)
CIE-LABlab(79.47, -46.77, 64.47)
CIE-LCHlch(79.47, 79.65, 125.96°)
OKLaboklab(80.73% -0.1318 0.1453)
OKLCHoklch(80.73% 0.196 132.2)
XYZxyz(36.8931, 55.7452, 13.6655)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ED940 #8B40D9
analogous
#D9D840 #8ED940 #41D940
triadic
#8ED940 #408ED9 #D9408E
tetradic
#8ED940 #40D9D8 #8B40D9 #D94041
square
#8ED940 #40D9D8 #8B40D9 #D94041
split-complementary
#8ED940 #4041D9 #D840D9
monochromatic
#50841A #6FB724 #8ED940 #ACE373 #CAEDA6

Accessibility & contrast

On white

1.73
#8ED940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#8ED940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ED940
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ED940#FFFFFF#000000##000000
##8ED9401.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C926
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#90D0BB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #8ed940;
/* rgb */ color: rgb(142, 217, 64);
/* oklch */ color: oklch(80.7% 0.196 132.2);
Tailwind
colors: {
  custom: {
    50: '#b4e57e',
    500: '#8ed940',
    950: '#000000',
  },
}
SCSS
$custom: #8ed940;
$custom-light: #b4e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ed940",
  "rgb": {
    "r": 142,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 89.412,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80725,
    "c": 0.19618,
    "h": 132.2
  },
  "luminance": 0.55747
}

Semantic roles & 50–950 ramp

primary
#8ED940
secondary
#5E328B
accent
#3EEA92
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12160A
muted
#82847D

Preview Lab

Preview with #8ED940

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

Preview Lab → · Contrast checker → · Palette generator →

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