#8FA040#8FA040

#8FA040 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.2% C 0.123 H 118.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8FA040
RGBrgb(143, 160, 64)
HSLhsl(71, 43%, 44%)
HSVhsv(71, 60%, 63%)
CMYKcmyk(10.6%, 0%, 60%, 37.3%)
CIE-LABlab(62.80, -20.06, 46.87)
CIE-LCHlch(62.80, 50.99, 113.17°)
OKLaboklab(67.24% -0.0582 0.1082)
OKLCHoklch(67.24% 0.123 118.3)
XYZxyz(24.8243, 31.3516, 9.5932)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA040 #5140A0
analogous
#A08140 #8FA040 #5FA040
triadic
#8FA040 #408FA0 #A0408F
tetradic
#8FA040 #40A081 #5140A0 #A0405F
square
#8FA040 #40A081 #5140A0 #A0405F
split-complementary
#8FA040 #405FA0 #8140A0
monochromatic
#41491D #68742F #8FA040 #AEBF5E #C4D08A

Accessibility & contrast

On white

2.89
#8FA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8FA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA040
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA040#FFFFFF#000000##000000
##8FA0401.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#A89846
Tritanopia (blue-blind)
#97988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa040;
/* rgb */ color: rgb(143, 160, 64);
/* oklch */ color: oklch(67.2% 0.123 118.3);
Tailwind
colors: {
  custom: {
    50: '#b2bc79',
    500: '#8fa040',
    950: '#000000',
  },
}
SCSS
$custom: #8fa040;
$custom-light: #b2bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa040",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 70.625,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.12291,
    "h": 118.3
  },
  "luminance": 0.31351
}

Semantic roles & 50–950 ramp

primary
#8FA040
secondary
#8B81BB
accent
#55D36B
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8FA040

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

Preview Lab → · Contrast checker → · Palette generator →

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