#8FC940#8FC940

#8FC940 is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 76.9% C 0.176 H 129.6°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#8FC940
RGBrgb(143, 201, 64)
HSLhsl(85, 56%, 52%)
HSVhsv(85, 68%, 79%)
CMYKcmyk(28.9%, 0%, 68.2%, 21.2%)
CIE-LABlab(74.81, -39.52, 59.72)
CIE-LCHlch(74.81, 71.62, 123.49°)
OKLaboklab(76.95% -0.1121 0.1354)
OKLCHoklch(76.95% 0.176 129.6)
XYZxyz(33.1396, 47.9822, 12.3650)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FC940 #7A40C9
analogous
#C9BE40 #8FC940 #4BC940
triadic
#8FC940 #408FC9 #C9408F
tetradic
#8FC940 #40C9BE #7A40C9 #C9404B
square
#8FC940 #40C9BE #7A40C9 #C9404B
split-complementary
#8FC940 #404BC9 #BE40C9
monochromatic
#4D6F1F #6F9F2D #8FC940 #ABD670 #C7E49F

Accessibility & contrast

On white

1.98
#8FC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#8FC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FC940
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FC940#FFFFFF#000000##000000
##8FC9401.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#93C0AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8fc940;
/* rgb */ color: rgb(143, 201, 64);
/* oklch */ color: oklch(76.9% 0.176 129.6);
Tailwind
colors: {
  custom: {
    50: '#b4d97c',
    500: '#8fc940',
    950: '#000000',
  },
}
SCSS
$custom: #8fc940;
$custom-light: #b4d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fc940",
  "rgb": {
    "r": 143,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 85.401,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76948,
    "c": 0.17575,
    "h": 129.6
  },
  "luminance": 0.47983
}

Semantic roles & 50–950 ramp

primary
#8FC940
secondary
#AE94D0
accent
#49DF88
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8FC940

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

Preview Lab → · Contrast checker → · Palette generator →

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