#8FA72B#8FA72B

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

Color values

HEX#8FA72B
RGBrgb(143, 167, 43)
HSLhsl(72, 59%, 41%)
HSVhsv(72, 74%, 65%)
CMYKcmyk(14.4%, 0%, 74.3%, 34.5%)
CIE-LABlab(64.69, -24.95, 57.37)
CIE-LCHlch(64.69, 62.56, 113.50°)
OKLaboklab(68.7% -0.0739 0.1272)
OKLCHoklch(68.7% 0.147 120.1)
XYZxyz(25.5829, 33.6516, 7.4327)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA72B #432BA7
analogous
#A7812B #8FA72B #51A72B
triadic
#8FA72B #2B8FA7 #A72B8F
tetradic
#8FA72B #2BA781 #432BA7 #A72B51
square
#8FA72B #2BA781 #432BA7 #A72B51
split-complementary
#8FA72B #2B51A7 #812BA7
monochromatic
#3C4612 #65761E #8FA72B #B3CE41 #C6DB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA72B#FFFFFF#000000##000000
##8FA72B1.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)
#B29D11
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#979E8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa72b;
/* rgb */ color: rgb(143, 167, 43);
/* oklch */ color: oklch(68.7% 0.147 120.1);
Tailwind
colors: {
  custom: {
    50: '#b3c16e',
    500: '#8fa72b',
    950: '#000000',
  },
}
SCSS
$custom: #8fa72b;
$custom-light: #b3c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa72b",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 71.613,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68704,
    "c": 0.1471,
    "h": 120.1
  },
  "luminance": 0.33651
}

Semantic roles & 50–950 ramp

primary
#8FA72B
secondary
#7D6CC2
accent
#46E264
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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