#8BA71B#8BA71B

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

Color values

HEX#8BA71B
RGBrgb(139, 167, 27)
HSLhsl(72, 72%, 38%)
HSVhsv(72, 84%, 65%)
CMYKcmyk(16.8%, 0%, 83.8%, 34.5%)
CIE-LABlab(64.33, -27.32, 61.77)
CIE-LCHlch(64.33, 67.54, 113.86°)
OKLaboklab(68.32% -0.0813 0.134)
OKLCHoklch(68.32% 0.157 121.3)
XYZxyz(24.6645, 33.2055, 6.1466)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA71B #371BA7
analogous
#A77D1B #8BA71B #45A71B
triadic
#8BA71B #1B8BA7 #A71B8B
tetradic
#8BA71B #1BA77D #371BA7 #A71B45
square
#8BA71B #1BA77D #371BA7 #A71B45
split-complementary
#8BA71B #1B45A7 #7D1BA7
monochromatic
#333E0A #5F7212 #8BA71B #B7DC24 #C8E458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8ba71b;
/* rgb */ color: rgb(139, 167, 27);
/* oklch */ color: oklch(68.3% 0.157 121.3);
Tailwind
colors: {
  custom: {
    50: '#b1c167',
    500: '#8ba71b',
    950: '#000000',
  },
}
SCSS
$custom: #8ba71b;
$custom-light: #b1c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba71b",
  "rgb": {
    "r": 139,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 72,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68319,
    "c": 0.15671,
    "h": 121.3
  },
  "luminance": 0.33206
}

Semantic roles & 50–950 ramp

primary
#8BA71B
secondary
#6D56C8
accent
#39EF5D
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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