#8FA72F#8FA72F

#8FA72F is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.7% C 0.145 H 120.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8FA72F
RGBrgb(143, 167, 47)
HSLhsl(72, 56%, 42%)
HSVhsv(72, 72%, 65%)
CMYKcmyk(14.4%, 0%, 71.9%, 34.5%)
CIE-LABlab(64.71, -24.73, 55.96)
CIE-LCHlch(64.71, 61.18, 113.85°)
OKLaboklab(68.73% -0.0729 0.1249)
OKLCHoklch(68.73% 0.145 120.3)
XYZxyz(25.6599, 33.6824, 7.8383)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA72F #472FA7
analogous
#A7832F #8FA72F #53A72F
triadic
#8FA72F #2F8FA7 #A72F8F
tetradic
#8FA72F #2FA783 #472FA7 #A72F53
square
#8FA72F #2FA783 #472FA7 #A72F53
split-complementary
#8FA72F #2F53A7 #832FA7
monochromatic
#3D4714 #667722 #8FA72F #B1CB48 #C5D978

Accessibility & contrast

On white

2.71
#8FA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#8FA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA72F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA72F#FFFFFF#000000##000000
##8FA72F1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1A
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#979E90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa72f;
/* rgb */ color: rgb(143, 167, 47);
/* oklch */ color: oklch(68.7% 0.145 120.3);
Tailwind
colors: {
  custom: {
    50: '#b3c170',
    500: '#8fa72f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa72f;
$custom-light: #b3c170;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa72f",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 72,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68732,
    "c": 0.14463,
    "h": 120.3
  },
  "luminance": 0.33682
}

Semantic roles & 50–950 ramp

primary
#8FA72F
secondary
#8171C1
accent
#48DF67
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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