#8FD840#8FD840

#8FD840 is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 80.5% C 0.194 H 131.9°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#8FD840
RGBrgb(143, 216, 64)
HSLhsl(89, 66%, 55%)
HSVhsv(89, 70%, 85%)
CMYKcmyk(33.8%, 0%, 70.4%, 15.3%)
CIE-LABlab(79.23, -46.00, 64.24)
CIE-LCHlch(79.23, 79.01, 125.61°)
OKLaboklab(80.54% -0.1297 0.1448)
OKLCHoklch(80.54% 0.194 131.9)
XYZxyz(36.8086, 55.3201, 13.5880)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FD840 #8940D8
analogous
#D8D540 #8FD840 #43D840
triadic
#8FD840 #408FD8 #D8408F
tetradic
#8FD840 #40D8D5 #8940D8 #D84043
square
#8FD840 #40D8D5 #8940D8 #D84043
split-complementary
#8FD840 #4043D8 #D540D8
monochromatic
#51831B #70B625 #8FD840 #ADE273 #CBEDA6

Accessibility & contrast

On white

1.74
#8FD840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#8FD840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FD840
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FD840#FFFFFF#000000##000000
##8FD8401.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C826
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#91CFBA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #8fd840;
/* rgb */ color: rgb(143, 216, 64);
/* oklch */ color: oklch(80.5% 0.194 131.9);
Tailwind
colors: {
  custom: {
    50: '#b5e47e',
    500: '#8fd840',
    950: '#000000',
  },
}
SCSS
$custom: #8fd840;
$custom-light: #b5e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fd840",
  "rgb": {
    "r": 143,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 88.816,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8054,
    "c": 0.19445,
    "h": 131.9
  },
  "luminance": 0.55322
}

Semantic roles & 50–950 ramp

primary
#8FD840
secondary
#5C338A
accent
#3FE991
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #8FD840

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

Preview Lab → · Contrast checker → · Palette generator →

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