#8FA42A#8FA42A

#8FA42A is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 68.0% C 0.144 H 119.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8FA42A
RGBrgb(143, 164, 42)
HSLhsl(70, 59%, 40%)
HSVhsv(70, 74%, 64%)
CMYKcmyk(12.8%, 0%, 74.4%, 35.7%)
CIE-LABlab(63.80, -23.52, 56.88)
CIE-LCHlch(63.80, 61.55, 112.47°)
OKLaboklab(67.99% -0.07 0.126)
OKLCHoklch(67.99% 0.144 119.1)
XYZxyz(25.0216, 32.5579, 7.1562)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA42A #3F2AA4
analogous
#A47C2A #8FA42A #52A42A
triadic
#8FA42A #2A8FA4 #A42A8F
tetradic
#8FA42A #2AA47C #3F2AA4 #A42A52
square
#8FA42A #2AA47C #3F2AA4 #A42A52
split-complementary
#8FA42A #2A52A4 #7C2AA4
monochromatic
#3A4311 #65731E #8FA42A #B5CD3E #C7DA6E

Accessibility & contrast

On white

2.80
#8FA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#8FA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA42A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA42A#FFFFFF#000000##000000
##8FA42A1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B11
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#989B8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa42a;
/* rgb */ color: rgb(143, 164, 42);
/* oklch */ color: oklch(68.0% 0.144 119.1);
Tailwind
colors: {
  custom: {
    50: '#b3bf6d',
    500: '#8fa42a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa42a;
$custom-light: #b3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa42a",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 70.328,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6799,
    "c": 0.14413,
    "h": 119.1
  },
  "luminance": 0.32558
}

Semantic roles & 50–950 ramp

primary
#8FA42A
secondary
#7869C1
accent
#45E260
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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