#8BBA31#8BBA31

#8BBA31 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.0% C 0.169 H 127.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8BBA31
RGBrgb(139, 186, 49)
HSLhsl(81, 58%, 46%)
HSVhsv(81, 74%, 73%)
CMYKcmyk(25.3%, 0%, 73.7%, 27.1%)
CIE-LABlab(70.06, -35.25, 60.39)
CIE-LCHlch(70.06, 69.92, 120.27°)
OKLaboklab(72.99% -0.1014 0.1346)
OKLCHoklch(72.99% 0.169 127)
XYZxyz(28.7608, 40.8280, 9.2705)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BBA31 #6031BA
analogous
#BAA431 #8BBA31 #46BA31
triadic
#8BBA31 #318BBA #BA318B
tetradic
#8BBA31 #31BAA4 #6031BA #BA3146
square
#8BBA31 #31BAA4 #6031BA #BA3146
split-complementary
#8BBA31 #3146BA #A431BA
monochromatic
#435917 #678A24 #8BBA31 #A8D256 #C1DF86

Accessibility & contrast

On white

2.29
#8BBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#8BBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BBA31
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BBA31#FFFFFF#000000##000000
##8BBA311.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD15
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#90B1A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8bba31;
/* rgb */ color: rgb(139, 186, 49);
/* oklch */ color: oklch(73.0% 0.169 127.0);
Tailwind
colors: {
  custom: {
    50: '#b1cf73',
    500: '#8bba31',
    950: '#000000',
  },
}
SCSS
$custom: #8bba31;
$custom-light: #b1cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#8bba31",
  "rgb": {
    "r": 139,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 80.584,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72991,
    "c": 0.16852,
    "h": 127
  },
  "luminance": 0.40829
}

Semantic roles & 50–950 ramp

primary
#8BBA31
secondary
#987EC9
accent
#46E27C
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8BBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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