#8FA940#8FA940

#8FA940 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.3% C 0.135 H 121.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8FA940
RGBrgb(143, 169, 64)
HSLhsl(75, 45%, 46%)
HSVhsv(75, 62%, 66%)
CMYKcmyk(15.4%, 0%, 62.1%, 33.7%)
CIE-LABlab(65.42, -24.57, 49.76)
CIE-LCHlch(65.42, 55.49, 116.28°)
OKLaboklab(69.35% -0.0708 0.1144)
OKLCHoklch(69.35% 0.135 121.8)
XYZxyz(26.4414, 34.5857, 10.1322)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA940 #5A40A9
analogous
#A98E40 #8FA940 #5AA940
triadic
#8FA940 #408FA9 #A9408F
tetradic
#8FA940 #40A98E #5A40A9 #A9405A
square
#8FA940 #40A98E #5A40A9 #A9405A
split-complementary
#8FA940 #405AA9 #8E40A9
monochromatic
#44501E #697D2F #8FA940 #ACC462 #C3D58F

Accessibility & contrast

On white

2.65
#8FA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#8FA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA940
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA940#FFFFFF#000000##000000
##8FA9401.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F34
Deuteranopia (green-blind)
#AF9F47
Tritanopia (blue-blind)
#96A193
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8fa940;
/* rgb */ color: rgb(143, 169, 64);
/* oklch */ color: oklch(69.3% 0.135 121.8);
Tailwind
colors: {
  custom: {
    50: '#b2c279',
    500: '#8fa940',
    950: '#000000',
  },
}
SCSS
$custom: #8fa940;
$custom-light: #b2c279;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa940",
  "rgb": {
    "r": 143,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 74.857,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6935,
    "c": 0.13452,
    "h": 121.8
  },
  "luminance": 0.34586
}

Semantic roles & 50–950 ramp

primary
#8FA940
secondary
#9485C0
accent
#53D573
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA940

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

Preview Lab → · Contrast checker → · Palette generator →

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