#8FA71C#8FA71C

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

Color values

HEX#8FA71C
RGBrgb(143, 167, 28)
HSLhsl(70, 71%, 38%)
HSVhsv(70, 83%, 65%)
CMYKcmyk(14.4%, 0%, 83.2%, 34.5%)
CIE-LABlab(64.61, -25.59, 61.88)
CIE-LCHlch(64.61, 66.96, 112.47°)
OKLaboklab(68.62% -0.0768 0.1342)
OKLCHoklch(68.62% 0.155 119.8)
XYZxyz(25.3566, 33.5610, 6.2405)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA71C #341CA7
analogous
#A7791C #8FA71C #49A71C
triadic
#8FA71C #1C8FA7 #A71C8F
tetradic
#8FA71C #1CA779 #341CA7 #A71C49
square
#8FA71C #1CA779 #341CA7 #A71C49
split-complementary
#8FA71C #1C49A7 #791CA7
monochromatic
#353E0A #627313 #8FA71C #BBDB26 #CCE35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA71C#FFFFFF#000000##000000
##8FA71C1.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)
#AF9D2B
Tritanopia (blue-blind)
#989E8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa71c;
/* rgb */ color: rgb(143, 167, 28);
/* oklch */ color: oklch(68.6% 0.155 119.8);
Tailwind
colors: {
  custom: {
    50: '#b4c167',
    500: '#8fa71c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa71c;
$custom-light: #b4c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa71c",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 70.36,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68623,
    "c": 0.15461,
    "h": 119.8
  },
  "luminance": 0.33561
}

Semantic roles & 50–950 ramp

primary
#8FA71C
secondary
#6B58C7
accent
#3AEE59
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #8FA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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