#8BA71C#8BA71C

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

Color values

HEX#8BA71C
RGBrgb(139, 167, 28)
HSLhsl(72, 71%, 38%)
HSVhsv(72, 83%, 65%)
CMYKcmyk(16.8%, 0%, 83.2%, 34.5%)
CIE-LABlab(64.33, -27.28, 61.52)
CIE-LCHlch(64.33, 67.30, 113.92°)
OKLaboklab(68.32% -0.0812 0.1336)
OKLCHoklch(68.32% 0.156 121.3)
XYZxyz(24.6762, 33.2102, 6.2086)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA71C #381CA7
analogous
#A77D1C #8BA71C #46A71C
triadic
#8BA71C #1C8BA7 #A71C8B
tetradic
#8BA71C #1CA77D #381CA7 #A71C46
square
#8BA71C #1CA77D #381CA7 #A71C46
split-complementary
#8BA71C #1C46A7 #7D1CA7
monochromatic
#343E0A #5F7313 #8BA71C #B6DB26 #C8E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA71C#FFFFFF#000000##000000
##8BA71C1.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)
#AE9C2C
Tritanopia (blue-blind)
#939E8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ba71c;
/* rgb */ color: rgb(139, 167, 28);
/* oklch */ color: oklch(68.3% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#b1c167',
    500: '#8ba71c',
    950: '#000000',
  },
}
SCSS
$custom: #8ba71c;
$custom-light: #b1c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba71c",
  "rgb": {
    "r": 139,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 72.086,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.15631,
    "h": 121.3
  },
  "luminance": 0.3321
}

Semantic roles & 50–950 ramp

primary
#8BA71C
secondary
#6E58C7
accent
#3AEE5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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