#8FC040#8FC040

#8FC040 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 74.8% C 0.164 H 127.9°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#8FC040
RGBrgb(143, 192, 64)
HSLhsl(83, 50%, 50%)
HSVhsv(83, 67%, 75%)
CMYKcmyk(25.5%, 0%, 66.7%, 24.7%)
CIE-LABlab(72.17, -35.48, 56.97)
CIE-LCHlch(72.17, 67.11, 121.91°)
OKLaboklab(74.8% -0.101 0.1296)
OKLCHoklch(74.8% 0.164 127.9)
XYZxyz(31.1027, 43.9084, 11.6860)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FC040 #7140C0
analogous
#C0B140 #8FC040 #4FC040
triadic
#8FC040 #408FC0 #C0408F
tetradic
#8FC040 #40C0B1 #7140C0 #C0404F
square
#8FC040 #40C0B1 #7140C0 #C0404F
split-complementary
#8FC040 #404FC0 #B140C0
monochromatic
#4B6421 #6D9230 #8FC040 #AACF6E #C5DE9C

Accessibility & contrast

On white

2.15
#8FC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#8FC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FC040
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FC040#FFFFFF#000000##000000
##8FC0401.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B32E
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#94B8A6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #8fc040;
/* rgb */ color: rgb(143, 192, 64);
/* oklch */ color: oklch(74.8% 0.164 127.9);
Tailwind
colors: {
  custom: {
    50: '#b3d37b',
    500: '#8fc040',
    950: '#000000',
  },
}
SCSS
$custom: #8fc040;
$custom-light: #b3d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fc040",
  "rgb": {
    "r": 143,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 82.969,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74799,
    "c": 0.16429,
    "h": 127.9
  },
  "luminance": 0.43909
}

Semantic roles & 50–950 ramp

primary
#8FC040
secondary
#A791CB
accent
#4EDA83
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8FC040

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

Preview Lab → · Contrast checker → · Palette generator →

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