#8BA71D#8BA71D

#8BA71D 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#8BA71D
RGBrgb(139, 167, 29)
HSLhsl(72, 70%, 38%)
HSVhsv(72, 83%, 65%)
CMYKcmyk(16.8%, 0%, 82.6%, 34.5%)
CIE-LABlab(64.33, -27.25, 61.26)
CIE-LCHlch(64.33, 67.05, 113.98°)
OKLaboklab(68.33% -0.081 0.1332)
OKLCHoklch(68.33% 0.156 121.3)
XYZxyz(24.6884, 33.2151, 6.2727)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA71D #391DA7
analogous
#A77E1D #8BA71D #46A71D
triadic
#8BA71D #1D8BA7 #A71D8B
tetradic
#8BA71D #1DA77E #391DA7 #A71D46
square
#8BA71D #1DA77E #391DA7 #A71D46
split-complementary
#8BA71D #1D46A7 #7E1DA7
monochromatic
#343F0B #607314 #8BA71D #B5DA28 #C7E35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA71D#FFFFFF#000000##000000
##8BA71D1.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: #8ba71d;
/* rgb */ color: rgb(139, 167, 29);
/* oklch */ color: oklch(68.3% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#b1c167',
    500: '#8ba71d',
    950: '#000000',
  },
}
SCSS
$custom: #8ba71d;
$custom-light: #b1c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba71d",
  "rgb": {
    "r": 139,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 72.174,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68328,
    "c": 0.15591,
    "h": 121.3
  },
  "luminance": 0.33215
}

Semantic roles & 50–950 ramp

primary
#8BA71D
secondary
#6F59C7
accent
#3BED5F
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA71D

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

Preview Lab → · Contrast checker → · Palette generator →

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