#8BAC31#8BAC31

#8BAC31 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.6% C 0.151 H 123.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8BAC31
RGBrgb(139, 172, 49)
HSLhsl(76, 56%, 43%)
HSVhsv(76, 72%, 67%)
CMYKcmyk(19.2%, 0%, 71.5%, 32.5%)
CIE-LABlab(65.92, -28.70, 56.31)
CIE-LCHlch(65.92, 63.21, 117.01°)
OKLaboklab(69.64% -0.0834 0.1261)
OKLCHoklch(69.64% 0.151 123.5)
XYZxyz(25.9546, 35.2156, 8.3351)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAC31 #5231AC
analogous
#AC8F31 #8BAC31 #4DAC31
triadic
#8BAC31 #318BAC #AC318B
tetradic
#8BAC31 #31AC8F #5231AC #AC314D
square
#8BAC31 #31AC8F #5231AC #AC314D
split-complementary
#8BAC31 #314DAC #8F31AC
monochromatic
#3E4D16 #657C23 #8BAC31 #AACC4E #C1DA7D

Accessibility & contrast

On white

2.61
#8BAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#8BAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAC31
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAC31#FFFFFF#000000##000000
##8BAC311.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#92A394
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8bac31;
/* rgb */ color: rgb(139, 172, 49);
/* oklch */ color: oklch(69.6% 0.151 123.5);
Tailwind
colors: {
  custom: {
    50: '#b0c471',
    500: '#8bac31',
    950: '#000000',
  },
}
SCSS
$custom: #8bac31;
$custom-light: #b0c471;
$custom-dark: #000000;
JSON
{
  "hex": "#8bac31",
  "rgb": {
    "r": 139,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 76.098,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69639,
    "c": 0.15118,
    "h": 123.5
  },
  "luminance": 0.35216
}

Semantic roles & 50–950 ramp

primary
#8BAC31
secondary
#8B76C3
accent
#49DF71
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8BAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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