#8FC540#8FC540

#8FC540 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.0% C 0.171 H 128.9°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#8FC540
RGBrgb(143, 197, 64)
HSLhsl(84, 53%, 51%)
HSVhsv(84, 68%, 77%)
CMYKcmyk(27.4%, 0%, 67.5%, 22.7%)
CIE-LABlab(73.64, -37.74, 58.50)
CIE-LCHlch(73.64, 69.62, 122.83°)
OKLaboklab(75.99% -0.1072 0.1328)
OKLCHoklch(75.99% 0.171 128.9)
XYZxyz(32.2193, 46.1415, 12.0582)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FC540 #7640C5
analogous
#C5B840 #8FC540 #4CC540
triadic
#8FC540 #408FC5 #C5408F
tetradic
#8FC540 #40C5B8 #7640C5 #C5404C
square
#8FC540 #40C5B8 #7640C5 #C5404C
split-complementary
#8FC540 #404CC5 #B840C5
monochromatic
#4C6A20 #6E992F #8FC540 #ABD36F #C6E29E

Accessibility & contrast

On white

2.05
#8FC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#8FC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FC540
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FC540#FFFFFF#000000##000000
##8FC5401.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#93BCAA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #8fc540;
/* rgb */ color: rgb(143, 197, 64);
/* oklch */ color: oklch(76.0% 0.171 128.9);
Tailwind
colors: {
  custom: {
    50: '#b4d77c',
    500: '#8fc540',
    950: '#000000',
  },
}
SCSS
$custom: #8fc540;
$custom-light: #b4d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fc540",
  "rgb": {
    "r": 143,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 84.361,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75992,
    "c": 0.17067,
    "h": 128.9
  },
  "luminance": 0.46142
}

Semantic roles & 50–950 ramp

primary
#8FC540
secondary
#AB93CE
accent
#4BDD86
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8FC540

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

Preview Lab → · Contrast checker → · Palette generator →

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