#8FA142#8FA142

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

Color values

HEX#8FA142
RGBrgb(143, 161, 66)
HSLhsl(71, 42%, 45%)
HSVhsv(71, 59%, 63%)
CMYKcmyk(11.2%, 0%, 59%, 36.9%)
CIE-LABlab(63.11, -20.41, 46.30)
CIE-LCHlch(63.11, 50.60, 113.79°)
OKLaboklab(67.5% -0.059 0.1073)
OKLCHoklch(67.5% 0.122 118.8)
XYZxyz(25.0563, 31.7229, 9.9563)
Luminance0.3172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA142 #5442A1
analogous
#A18342 #8FA142 #60A142
triadic
#8FA142 #428FA1 #A1428F
tetradic
#8FA142 #42A183 #5442A1 #A14260
square
#8FA142 #42A183 #5442A1 #A14260
split-complementary
#8FA142 #4260A1 #8342A1
monochromatic
#424A1E #687630 #8FA142 #ADBF62 #C4D08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA142#FFFFFF#000000##000000
##8FA1421.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)
#AB9938
Deuteranopia (green-blind)
#A99948
Tritanopia (blue-blind)
#97998C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa142;
/* rgb */ color: rgb(143, 161, 66);
/* oklch */ color: oklch(67.5% 0.122 118.8);
Tailwind
colors: {
  custom: {
    50: '#b2bc7a',
    500: '#8fa142',
    950: '#000000',
  },
}
SCSS
$custom: #8fa142;
$custom-light: #b2bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa142",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 71.368,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67497,
    "c": 0.12242,
    "h": 118.8
  },
  "luminance": 0.31723
}

Semantic roles & 50–950 ramp

primary
#8FA142
secondary
#8E83BB
accent
#56D26E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA142

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

Preview Lab → · Contrast checker → · Palette generator →

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