#8FA342#8FA342

#8FA342 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 68.0% C 0.125 H 119.6°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8FA342
RGBrgb(143, 163, 66)
HSLhsl(72, 42%, 45%)
HSVhsv(72, 60%, 64%)
CMYKcmyk(12.3%, 0%, 59.5%, 36.1%)
CIE-LABlab(63.69, -21.42, 46.95)
CIE-LCHlch(63.69, 51.60, 114.52°)
OKLaboklab(67.96% -0.0618 0.1086)
OKLCHoklch(67.96% 0.125 119.6)
XYZxyz(25.4086, 32.4275, 10.0738)
Luminance0.3243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA342 #5642A3
analogous
#A38642 #8FA342 #5FA342
triadic
#8FA342 #428FA3 #A3428F
tetradic
#8FA342 #42A386 #5642A3 #A3425F
square
#8FA342 #42A386 #5642A3 #A3425F
split-complementary
#8FA342 #425FA3 #8642A3
monochromatic
#434C1F #697730 #8FA342 #ACC063 #C3D18E

Accessibility & contrast

On white

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

On black

7.49
#8FA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA342
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA342#FFFFFF#000000##000000
##8FA3421.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A37
Deuteranopia (green-blind)
#AA9B48
Tritanopia (blue-blind)
#969B8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa342;
/* rgb */ color: rgb(143, 163, 66);
/* oklch */ color: oklch(68.0% 0.125 119.6);
Tailwind
colors: {
  custom: {
    50: '#b2be7a',
    500: '#8fa342',
    950: '#000000',
  },
}
SCSS
$custom: #8fa342;
$custom-light: #b2be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa342",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 72.371,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67964,
    "c": 0.125,
    "h": 119.6
  },
  "luminance": 0.32427
}

Semantic roles & 50–950 ramp

primary
#8FA342
secondary
#9084BC
accent
#56D26F
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA342

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

Preview Lab → · Contrast checker → · Palette generator →

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