#8BA71A#8BA71A

#8BA71A is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.3% C 0.157 H 121.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8BA71A
RGBrgb(139, 167, 26)
HSLhsl(72, 73%, 38%)
HSVhsv(72, 84%, 65%)
CMYKcmyk(16.8%, 0%, 84.4%, 34.5%)
CIE-LABlab(64.32, -27.35, 62.02)
CIE-LCHlch(64.32, 67.78, 113.80°)
OKLaboklab(68.32% -0.0815 0.1343)
OKLCHoklch(68.32% 0.157 121.2)
XYZxyz(24.6531, 33.2010, 6.0867)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA71A #361AA7
analogous
#A77C1A #8BA71A #44A71A
triadic
#8BA71A #1A8BA7 #A71A8B
tetradic
#8BA71A #1AA77C #361AA7 #A71A44
square
#8BA71A #1AA77C #361AA7 #A71A44
split-complementary
#8BA71A #1A44A7 #7C1AA7
monochromatic
#333D0A #5F7212 #8BA71A #B7DC22 #C9E557

Accessibility & contrast

On white

2.75
#8BA71A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8BA71A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA71A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA71A#FFFFFF#000000##000000
##8BA71A1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#AE9C2A
Tritanopia (blue-blind)
#939E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ba71a;
/* rgb */ color: rgb(139, 167, 26);
/* oklch */ color: oklch(68.3% 0.157 121.2);
Tailwind
colors: {
  custom: {
    50: '#b1c166',
    500: '#8ba71a',
    950: '#000000',
  },
}
SCSS
$custom: #8ba71a;
$custom-light: #b1c166;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba71a",
  "rgb": {
    "r": 139,
    "g": 167,
    "b": 26
  },
  "hsl": {
    "h": 71.915,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68315,
    "c": 0.15711,
    "h": 121.2
  },
  "luminance": 0.33201
}

Semantic roles & 50–950 ramp

primary
#8BA71A
secondary
#6C55C8
accent
#38F05D
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA71A

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

Preview Lab → · Contrast checker → · Palette generator →

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