#8BB128#8BB128

#8BB128 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.8% C 0.163 H 124.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8BB128
RGBrgb(139, 177, 40)
HSLhsl(77, 63%, 43%)
HSVhsv(77, 77%, 69%)
CMYKcmyk(21.5%, 0%, 77.4%, 30.6%)
CIE-LABlab(67.34, -31.55, 60.79)
CIE-LCHlch(67.34, 68.49, 117.43°)
OKLaboklab(70.78% -0.092 0.134)
OKLCHoklch(70.78% 0.163 124.5)
XYZxyz(26.7529, 37.0862, 7.7560)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB128 #4E28B1
analogous
#B19228 #8BB128 #47B128
triadic
#8BB128 #288BB1 #B1288B
tetradic
#8BB128 #28B192 #4E28B1 #B12847
square
#8BB128 #28B192 #4E28B1 #B12847
split-complementary
#8BB128 #2847B1 #9228B1
monochromatic
#3D4D11 #647F1D #8BB128 #ACD442 #C2E074

Accessibility & contrast

On white

2.49
#8BB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#8BB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BB128
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BB128#FFFFFF#000000##000000
##8BB1281.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA501
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#92A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8bb128;
/* rgb */ color: rgb(139, 177, 40);
/* oklch */ color: oklch(70.8% 0.163 124.5);
Tailwind
colors: {
  custom: {
    50: '#b1c86d',
    500: '#8bb128',
    950: '#000000',
  },
}
SCSS
$custom: #8bb128;
$custom-light: #b1c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb128",
  "rgb": {
    "r": 139,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 76.642,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70776,
    "c": 0.16254,
    "h": 124.5
  },
  "luminance": 0.37086
}

Semantic roles & 50–950 ramp

primary
#8BB128
secondary
#876EC7
accent
#42E66F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8BB128

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

Preview Lab → · Contrast checker → · Palette generator →

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