#8FA72C#8FA72C

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

Color values

HEX#8FA72C
RGBrgb(143, 167, 44)
HSLhsl(72, 58%, 41%)
HSVhsv(72, 74%, 65%)
CMYKcmyk(14.4%, 0%, 73.7%, 34.5%)
CIE-LABlab(64.69, -24.90, 57.03)
CIE-LCHlch(64.69, 62.23, 113.59°)
OKLaboklab(68.71% -0.0736 0.1267)
OKLCHoklch(68.71% 0.147 120.2)
XYZxyz(25.6015, 33.6590, 7.5305)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA72C #442CA7
analogous
#A7822C #8FA72C #52A72C
triadic
#8FA72C #2C8FA7 #A72C8F
tetradic
#8FA72C #2CA782 #442CA7 #A72C52
square
#8FA72C #2CA782 #442CA7 #A72C52
split-complementary
#8FA72C #2C52A7 #822CA7
monochromatic
#3C4612 #66771F #8FA72C #B2CD43 #C6DA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA72C#FFFFFF#000000##000000
##8FA72C1.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)
#B29D14
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#979E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa72c;
/* rgb */ color: rgb(143, 167, 44);
/* oklch */ color: oklch(68.7% 0.146 120.2);
Tailwind
colors: {
  custom: {
    50: '#b3c16e',
    500: '#8fa72c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa72c;
$custom-light: #b3c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa72c",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 71.707,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68711,
    "c": 0.1465,
    "h": 120.2
  },
  "luminance": 0.33659
}

Semantic roles & 50–950 ramp

primary
#8FA72C
secondary
#7E6DC2
accent
#46E265
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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