#8BA81F#8BA81F

#8BA81F is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.6% C 0.156 H 121.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8BA81F
RGBrgb(139, 168, 31)
HSLhsl(73, 69%, 39%)
HSVhsv(73, 82%, 66%)
CMYKcmyk(17.3%, 0%, 81.5%, 34.1%)
CIE-LABlab(64.64, -27.66, 60.99)
CIE-LCHlch(64.64, 66.97, 114.39°)
OKLaboklab(68.58% -0.082 0.133)
OKLCHoklch(68.58% 0.156 121.7)
XYZxyz(24.8978, 33.5931, 6.4685)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA81F #3C1FA8
analogous
#A8811F #8BA81F #47A81F
triadic
#8BA81F #1F8BA8 #A81F8B
tetradic
#8BA81F #1FA881 #3C1FA8 #A81F47
square
#8BA81F #1FA881 #3C1FA8 #A81F47
split-complementary
#8BA81F #1F47A8 #811FA8
monochromatic
#36410C #607415 #8BA81F #B4D82C #C6E260

Accessibility & contrast

On white

2.72
#8BA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#8BA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA81F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA81F#FFFFFF#000000##000000
##8BA81F1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#AF9D2E
Tritanopia (blue-blind)
#939F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ba81f;
/* rgb */ color: rgb(139, 168, 31);
/* oklch */ color: oklch(68.6% 0.156 121.7);
Tailwind
colors: {
  custom: {
    50: '#b1c168',
    500: '#8ba81f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba81f;
$custom-light: #b1c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba81f",
  "rgb": {
    "r": 139,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 72.701,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68576,
    "c": 0.1562,
    "h": 121.7
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

primary
#8BA81F
secondary
#735DC6
accent
#3CEC61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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