#8FD940#8FD940

#8FD940 is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 80.8% C 0.196 H 132.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#8FD940
RGBrgb(143, 217, 64)
HSLhsl(89, 67%, 55%)
HSVhsv(89, 71%, 85%)
CMYKcmyk(34.1%, 0%, 70.5%, 14.9%)
CIE-LABlab(79.52, -46.42, 64.53)
CIE-LCHlch(79.52, 79.50, 125.73°)
OKLaboklab(80.78% -0.1309 0.1455)
OKLCHoklch(80.78% 0.196 132)
XYZxyz(37.0655, 55.8341, 13.6736)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FD940 #8A40D9
analogous
#D9D740 #8FD940 #42D940
triadic
#8FD940 #408FD9 #D9408F
tetradic
#8FD940 #40D9D7 #8A40D9 #D94042
square
#8FD940 #40D9D7 #8A40D9 #D94042
split-complementary
#8FD940 #4042D9 #D740D9
monochromatic
#51841A #70B724 #8FD940 #ADE373 #CBEDA6

Accessibility & contrast

On white

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

On black

12.17
#8FD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FD940
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FD940#FFFFFF#000000##000000
##8FD9401.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fd940;
/* rgb */ color: rgb(143, 217, 64);
/* oklch */ color: oklch(80.8% 0.196 132.0);
Tailwind
colors: {
  custom: {
    50: '#b5e57e',
    500: '#8fd940',
    950: '#000000',
  },
}
SCSS
$custom: #8fd940;
$custom-light: #b5e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fd940",
  "rgb": {
    "r": 143,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 89.02,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80779,
    "c": 0.19567,
    "h": 132
  },
  "luminance": 0.55836
}

Semantic roles & 50–950 ramp

primary
#8FD940
secondary
#5D328B
accent
#3EEA91
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12160A
muted
#82847D

Preview Lab

Preview with #8FD940

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

Preview Lab → · Contrast checker → · Palette generator →

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