#8BA81B#8BA81B

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

Color values

HEX#8BA81B
RGBrgb(139, 168, 27)
HSLhsl(72, 72%, 38%)
HSVhsv(72, 84%, 66%)
CMYKcmyk(17.3%, 0%, 83.9%, 34.1%)
CIE-LABlab(64.62, -27.80, 62.03)
CIE-LCHlch(64.62, 67.97, 114.14°)
OKLaboklab(68.56% -0.0826 0.1345)
OKLCHoklch(68.56% 0.158 121.6)
XYZxyz(24.8484, 33.5733, 6.2079)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA81B #381BA8
analogous
#A87E1B #8BA81B #45A81B
triadic
#8BA81B #1B8BA8 #A81B8B
tetradic
#8BA81B #1BA87E #381BA8 #A81B45
square
#8BA81B #1BA87E #381BA8 #A81B45
split-complementary
#8BA81B #1B45A8 #7E1BA8
monochromatic
#343F0A #5F7313 #8BA81B #B6DC24 #C8E459

Accessibility & contrast

On white

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

On black

7.71
#8BA81B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA81B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA81B#FFFFFF#000000##000000
##8BA81B1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ba81b;
/* rgb */ color: rgb(139, 168, 27);
/* oklch */ color: oklch(68.6% 0.158 121.6);
Tailwind
colors: {
  custom: {
    50: '#b1c167',
    500: '#8ba81b',
    950: '#000000',
  },
}
SCSS
$custom: #8ba81b;
$custom-light: #b1c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba81b",
  "rgb": {
    "r": 139,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 72.34,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68558,
    "c": 0.15786,
    "h": 121.6
  },
  "luminance": 0.33573
}

Semantic roles & 50–950 ramp

primary
#8BA81B
secondary
#6E57C8
accent
#39EF5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA81B

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

Preview Lab → · Contrast checker → · Palette generator →

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