#8FAC2F#8FAC2F

#8FAC2F is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.9% C 0.151 H 121.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8FAC2F
RGBrgb(143, 172, 47)
HSLhsl(74, 57%, 43%)
HSVhsv(74, 73%, 67%)
CMYKcmyk(16.9%, 0%, 72.7%, 32.5%)
CIE-LABlab(66.17, -27.17, 57.39)
CIE-LCHlch(66.17, 63.50, 115.34°)
OKLaboklab(69.91% -0.0796 0.1279)
OKLCHoklch(69.91% 0.151 121.9)
XYZxyz(26.5937, 35.5499, 8.1496)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FAC2F #4C2FAC
analogous
#AC8A2F #8FAC2F #50AC2F
triadic
#8FAC2F #2F8FAC #AC2F8F
tetradic
#8FAC2F #2FAC8A #4C2FAC #AC2F50
square
#8FAC2F #2FAC8A #4C2FAC #AC2F50
split-complementary
#8FAC2F #2F50AC #8A2FAC
monochromatic
#3F4C15 #677C22 #8FAC2F #AFCE4B #C4DB7B

Accessibility & contrast

On white

2.59
#8FAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#8FAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FAC2F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FAC2F#FFFFFF#000000##000000
##8FAC2F1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A118
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#97A394
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8fac2f;
/* rgb */ color: rgb(143, 172, 47);
/* oklch */ color: oklch(69.9% 0.151 121.9);
Tailwind
colors: {
  custom: {
    50: '#b3c470',
    500: '#8fac2f',
    950: '#000000',
  },
}
SCSS
$custom: #8fac2f;
$custom-light: #b3c470;
$custom-dark: #000000;
JSON
{
  "hex": "#8fac2f",
  "rgb": {
    "r": 143,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 73.92,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69913,
    "c": 0.15069,
    "h": 121.9
  },
  "luminance": 0.3555
}

Semantic roles & 50–950 ramp

primary
#8FAC2F
secondary
#8674C3
accent
#47E06B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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