#8FC840#8FC840

#8FC840 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.7% C 0.174 H 129.4°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#8FC840
RGBrgb(143, 200, 64)
HSLhsl(85, 55%, 52%)
HSVhsv(85, 68%, 78%)
CMYKcmyk(28.5%, 0%, 68%, 21.6%)
CIE-LABlab(74.52, -39.08, 59.42)
CIE-LCHlch(74.52, 71.12, 123.33°)
OKLaboklab(76.71% -0.1109 0.1347)
OKLCHoklch(76.71% 0.174 129.4)
XYZxyz(32.9072, 47.5175, 12.2875)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FC840 #7940C8
analogous
#C8BD40 #8FC840 #4BC840
triadic
#8FC840 #408FC8 #C8408F
tetradic
#8FC840 #40C8BD #7940C8 #C8404B
square
#8FC840 #40C8BD #7940C8 #C8404B
split-complementary
#8FC840 #404BC8 #BD40C8
monochromatic
#4D6E20 #6E9D2D #8FC840 #ABD670 #C7E39F

Accessibility & contrast

On white

2.00
#8FC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#8FC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FC840
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FC840#FFFFFF#000000##000000
##8FC8401.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#93BFAD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #8fc840;
/* rgb */ color: rgb(143, 200, 64);
/* oklch */ color: oklch(76.7% 0.174 129.4);
Tailwind
colors: {
  custom: {
    50: '#b4d97c',
    500: '#8fc840',
    950: '#000000',
  },
}
SCSS
$custom: #8fc840;
$custom-light: #b4d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fc840",
  "rgb": {
    "r": 143,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 85.147,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76709,
    "c": 0.17448,
    "h": 129.4
  },
  "luminance": 0.47518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FC840

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

Preview Lab → · Contrast checker → · Palette generator →

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