#8FA340#8FA340

#8FA340 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.9% C 0.127 H 119.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8FA340
RGBrgb(143, 163, 64)
HSLhsl(72, 44%, 45%)
HSVhsv(72, 61%, 64%)
CMYKcmyk(12.3%, 0%, 60.7%, 36.1%)
CIE-LABlab(63.68, -21.58, 47.84)
CIE-LCHlch(63.68, 52.48, 114.28°)
OKLaboklab(67.94% -0.0625 0.1103)
OKLCHoklch(67.94% 0.127 119.5)
XYZxyz(25.3507, 32.4043, 9.7687)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA340 #5440A3
analogous
#A38640 #8FA340 #5EA340
triadic
#8FA340 #408FA3 #A3408F
tetradic
#8FA340 #40A386 #5440A3 #A3405E
square
#8FA340 #40A386 #5440A3 #A3405E
split-complementary
#8FA340 #405EA3 #8640A3
monochromatic
#424B1D #68772F #8FA340 #ADC060 #C4D28C

Accessibility & contrast

On white

2.81
#8FA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#8FA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA340
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA340#FFFFFF#000000##000000
##8FA3401.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#AA9B47
Tritanopia (blue-blind)
#979B8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa340;
/* rgb */ color: rgb(143, 163, 64);
/* oklch */ color: oklch(67.9% 0.127 119.5);
Tailwind
colors: {
  custom: {
    50: '#b2be79',
    500: '#8fa340',
    950: '#000000',
  },
}
SCSS
$custom: #8fa340;
$custom-light: #b2be79;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa340",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 72.121,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67943,
    "c": 0.12676,
    "h": 119.5
  },
  "luminance": 0.32404
}

Semantic roles & 50–950 ramp

primary
#8FA340
secondary
#8E82BD
accent
#54D36E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA340

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

Preview Lab → · Contrast checker → · Palette generator →

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