#8BA71F#8BA71F

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

Color values

HEX#8BA71F
RGBrgb(139, 167, 31)
HSLhsl(72, 69%, 39%)
HSVhsv(72, 81%, 65%)
CMYKcmyk(16.8%, 0%, 81.4%, 34.5%)
CIE-LABlab(64.34, -27.17, 60.73)
CIE-LCHlch(64.34, 66.53, 114.11°)
OKLaboklab(68.34% -0.0807 0.1324)
OKLCHoklch(68.34% 0.155 121.4)
XYZxyz(24.7139, 33.2253, 6.4072)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA71F #3B1FA7
analogous
#A77F1F #8BA71F #47A71F
triadic
#8BA71F #1F8BA7 #A71F8B
tetradic
#8BA71F #1FA77F #3B1FA7 #A71F47
square
#8BA71F #1FA77F #3B1FA7 #A71F47
split-complementary
#8BA71F #1F47A7 #7F1FA7
monochromatic
#35400C #607315 #8BA71F #B4D82B #C7E15F

Accessibility & contrast

On white

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

On black

7.65
#8BA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA71F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA71F#FFFFFF#000000##000000
##8BA71F1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ba71f;
/* rgb */ color: rgb(139, 167, 31);
/* oklch */ color: oklch(68.3% 0.155 121.4);
Tailwind
colors: {
  custom: {
    50: '#b1c168',
    500: '#8ba71f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba71f;
$custom-light: #b1c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba71f",
  "rgb": {
    "r": 139,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 72.353,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68337,
    "c": 0.15504,
    "h": 121.4
  },
  "luminance": 0.33225
}

Semantic roles & 50–950 ramp

primary
#8BA71F
secondary
#725CC6
accent
#3CEC60
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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