#8FA71E#8FA71E

#8FA71E is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.6% C 0.154 H 119.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8FA71E
RGBrgb(143, 167, 30)
HSLhsl(71, 70%, 39%)
HSVhsv(71, 82%, 65%)
CMYKcmyk(14.4%, 0%, 82%, 34.5%)
CIE-LABlab(64.62, -25.52, 61.36)
CIE-LCHlch(64.62, 66.45, 112.59°)
OKLaboklab(68.63% -0.0764 0.1334)
OKLCHoklch(68.63% 0.154 119.8)
XYZxyz(25.3813, 33.5709, 6.3708)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA71E #361EA7
analogous
#A77A1E #8FA71E #4AA71E
triadic
#8FA71E #1E8FA7 #A71E8F
tetradic
#8FA71E #1EA77A #361EA7 #A71E4A
square
#8FA71E #1EA77A #361EA7 #A71E4A
split-complementary
#8FA71E #1E4AA7 #7A1EA7
monochromatic
#363F0B #637315 #8FA71E #BAD92A #CBE25D

Accessibility & contrast

On white

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

On black

7.71
#8FA71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA71E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA71E#FFFFFF#000000##000000
##8FA71E1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#989E8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa71e;
/* rgb */ color: rgb(143, 167, 30);
/* oklch */ color: oklch(68.6% 0.154 119.8);
Tailwind
colors: {
  custom: {
    50: '#b4c168',
    500: '#8fa71e',
    950: '#000000',
  },
}
SCSS
$custom: #8fa71e;
$custom-light: #b4c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa71e",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 70.511,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68632,
    "c": 0.15377,
    "h": 119.8
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#8FA71E
secondary
#6D5BC6
accent
#3BEC5A
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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