#8FB940#8FB940

#8FB940 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.1% C 0.155 H 126.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8FB940
RGBrgb(143, 185, 64)
HSLhsl(81, 49%, 49%)
HSVhsv(81, 65%, 73%)
CMYKcmyk(22.7%, 0%, 65.4%, 27.5%)
CIE-LABlab(70.11, -32.25, 54.80)
CIE-LCHlch(70.11, 63.58, 120.48°)
OKLaboklab(73.13% -0.0921 0.125)
OKLCHoklch(73.13% 0.155 126.4)
XYZxyz(29.6021, 40.9073, 11.1858)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB940 #6A40B9
analogous
#B9A740 #8FB940 #53B940
triadic
#8FB940 #408FB9 #B9408F
tetradic
#8FB940 #40B9A7 #6A40B9 #B94053
square
#8FB940 #40B9A7 #6A40B9 #B94053
split-complementary
#8FB940 #4053B9 #A740B9
monochromatic
#495E21 #6C8C30 #8FB940 #AACC6B #C4DB98

Accessibility & contrast

On white

2.29
#8FB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#8FB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB940
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB940#FFFFFF#000000##000000
##8FB9401.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#95B1A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8fb940;
/* rgb */ color: rgb(143, 185, 64);
/* oklch */ color: oklch(73.1% 0.155 126.4);
Tailwind
colors: {
  custom: {
    50: '#b3ce7b',
    500: '#8fb940',
    950: '#000000',
  },
}
SCSS
$custom: #8fb940;
$custom-light: #b3ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb940",
  "rgb": {
    "r": 143,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 80.826,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73133,
    "c": 0.15527,
    "h": 126.4
  },
  "luminance": 0.40908
}

Semantic roles & 50–950 ramp

primary
#8FB940
secondary
#A28EC7
accent
#50D87F
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FB940

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

Preview Lab → · Contrast checker → · Palette generator →

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