#8FA72A#8FA72A

#8FA72A is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.7% C 0.148 H 120.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8FA72A
RGBrgb(143, 167, 42)
HSLhsl(72, 60%, 41%)
HSVhsv(72, 75%, 65%)
CMYKcmyk(14.4%, 0%, 74.9%, 34.5%)
CIE-LABlab(64.68, -25.00, 57.72)
CIE-LCHlch(64.68, 62.90, 113.42°)
OKLaboklab(68.7% -0.0741 0.1278)
OKLCHoklch(68.7% 0.148 120.1)
XYZxyz(25.5648, 33.6443, 7.3373)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA72A #422AA7
analogous
#A7802A #8FA72A #50A72A
triadic
#8FA72A #2A8FA7 #A72A8F
tetradic
#8FA72A #2AA780 #422AA7 #A72A50
square
#8FA72A #2AA780 #422AA7 #A72A50
split-complementary
#8FA72A #2A50A7 #802AA7
monochromatic
#3B4511 #65761E #8FA72A #B3CF3F #C7DB70

Accessibility & contrast

On white

2.72
#8FA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8FA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA72A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA72A#FFFFFF#000000##000000
##8FA72A1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0F
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#979E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa72a;
/* rgb */ color: rgb(143, 167, 42);
/* oklch */ color: oklch(68.7% 0.148 120.1);
Tailwind
colors: {
  custom: {
    50: '#b3c16d',
    500: '#8fa72a',
    950: '#000000',
  },
}
SCSS
$custom: #8fa72a;
$custom-light: #b3c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa72a",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 71.52,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.14769,
    "h": 120.1
  },
  "luminance": 0.33644
}

Semantic roles & 50–950 ramp

primary
#8FA72A
secondary
#7B6BC2
accent
#45E363
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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