#8FA140#8FA140

#8FA140 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.5% C 0.124 H 118.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8FA140
RGBrgb(143, 161, 64)
HSLhsl(71, 43%, 44%)
HSVhsv(71, 60%, 63%)
CMYKcmyk(11.2%, 0%, 60.2%, 36.9%)
CIE-LABlab(63.09, -20.57, 47.20)
CIE-LCHlch(63.09, 51.48, 113.55°)
OKLaboklab(67.47% -0.0597 0.1089)
OKLCHoklch(67.47% 0.124 118.7)
XYZxyz(24.9984, 31.6997, 9.6512)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA140 #5240A1
analogous
#A18340 #8FA140 #5FA140
triadic
#8FA140 #408FA1 #A1408F
tetradic
#8FA140 #40A183 #5240A1 #A1405F
square
#8FA140 #40A183 #5240A1 #A1405F
split-complementary
#8FA140 #405FA1 #8340A1
monochromatic
#41491D #68752F #8FA140 #ADBF5F #C4D18B

Accessibility & contrast

On white

2.86
#8FA140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#8FA140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA140
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA140#FFFFFF#000000##000000
##8FA1401.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#A99946
Tritanopia (blue-blind)
#97998C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa140;
/* rgb */ color: rgb(143, 161, 64);
/* oklch */ color: oklch(67.5% 0.124 118.7);
Tailwind
colors: {
  custom: {
    50: '#b2bc79',
    500: '#8fa140',
    950: '#000000',
  },
}
SCSS
$custom: #8fa140;
$custom-light: #b2bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa140",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 71.134,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67475,
    "c": 0.12419,
    "h": 118.7
  },
  "luminance": 0.317
}

Semantic roles & 50–950 ramp

primary
#8FA140
secondary
#8C81BC
accent
#55D36C
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA140

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

Preview Lab → · Contrast checker → · Palette generator →

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