#8FB040#8FB040

#8FB040 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.0% C 0.144 H 124.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8FB040
RGBrgb(143, 176, 64)
HSLhsl(78, 47%, 47%)
HSVhsv(78, 64%, 69%)
CMYKcmyk(18.7%, 0%, 63.6%, 31%)
CIE-LABlab(67.47, -27.98, 51.98)
CIE-LCHlch(67.47, 59.03, 118.29°)
OKLaboklab(71% -0.0803 0.1191)
OKLCHoklch(71% 0.144 124)
XYZxyz(27.7786, 37.2603, 10.5780)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB040 #6140B0
analogous
#B09940 #8FB040 #57B040
triadic
#8FB040 #408FB0 #B0408F
tetradic
#8FB040 #40B099 #6140B0 #B04057
square
#8FB040 #40B099 #6140B0 #B04057
split-complementary
#8FB040 #4057B0 #9940B0
monochromatic
#46561F #6B8330 #8FB040 #ABC766 #C3D893

Accessibility & contrast

On white

2.48
#8FB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#8FB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB040
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB040#FFFFFF#000000##000000
##8FB0401.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA532
Deuteranopia (green-blind)
#B5A448
Tritanopia (blue-blind)
#95A899
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8fb040;
/* rgb */ color: rgb(143, 176, 64);
/* oklch */ color: oklch(71.0% 0.144 124.0);
Tailwind
colors: {
  custom: {
    50: '#b2c77a',
    500: '#8fb040',
    950: '#000000',
  },
}
SCSS
$custom: #8fb040;
$custom-light: #b2c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb040",
  "rgb": {
    "r": 143,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 77.679,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71,
    "c": 0.14361,
    "h": 124
  },
  "luminance": 0.3726
}

Semantic roles & 50–950 ramp

primary
#8FB040
secondary
#9A89C3
accent
#51D679
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8FB040

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

Preview Lab → · Contrast checker → · Palette generator →

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