#8FC942#8FC942

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

Color values

HEX#8FC942
RGBrgb(143, 201, 66)
HSLhsl(86, 56%, 52%)
HSVhsv(86, 67%, 79%)
CMYKcmyk(28.9%, 0%, 67.2%, 21.2%)
CIE-LABlab(74.83, -39.38, 58.96)
CIE-LCHlch(74.83, 70.90, 123.74°)
OKLaboklab(76.96% -0.1115 0.134)
OKLCHoklch(76.96% 0.174 129.8)
XYZxyz(33.1975, 48.0053, 12.6701)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FC942 #7C42C9
analogous
#C9C042 #8FC942 #4BC942
triadic
#8FC942 #428FC9 #C9428F
tetradic
#8FC942 #42C9C0 #7C42C9 #C9424B
square
#8FC942 #42C9C0 #7C42C9 #C9424B
split-complementary
#8FC942 #424BC9 #C042C9
monochromatic
#4E7020 #6FA02E #8FC942 #ABD772 #C7E4A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FC942#FFFFFF#000000##000000
##8FC9421.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)
#D2BB2F
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#93C0AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8fc942;
/* rgb */ color: rgb(143, 201, 66);
/* oklch */ color: oklch(77.0% 0.174 129.8);
Tailwind
colors: {
  custom: {
    50: '#b4d97d',
    500: '#8fc942',
    950: '#000000',
  },
}
SCSS
$custom: #8fc942;
$custom-light: #b4d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fc942",
  "rgb": {
    "r": 143,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 85.778,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76965,
    "c": 0.17436,
    "h": 129.8
  },
  "luminance": 0.48006
}

Semantic roles & 50–950 ramp

primary
#8FC942
secondary
#AF96D1
accent
#49DF89
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8FC942

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

Preview Lab → · Contrast checker → · Palette generator →

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