#8BB12A#8BB12A

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

Color values

HEX#8BB12A
RGBrgb(139, 177, 42)
HSLhsl(77, 62%, 43%)
HSVhsv(77, 76%, 69%)
CMYKcmyk(21.5%, 0%, 76.3%, 30.6%)
CIE-LABlab(67.35, -31.46, 60.15)
CIE-LCHlch(67.35, 67.88, 117.61°)
OKLaboklab(70.79% -0.0916 0.133)
OKLCHoklch(70.79% 0.161 124.5)
XYZxyz(26.7878, 37.1001, 7.9398)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BB12A #502AB1
analogous
#B1932A #8BB12A #47B12A
triadic
#8BB12A #2A8BB1 #B12A8B
tetradic
#8BB12A #2AB193 #502AB1 #B12A47
square
#8BB12A #2AB193 #502AB1 #B12A47
split-complementary
#8BB12A #2A47B1 #932AB1
monochromatic
#3D4E13 #64801E #8BB12A #ABD345 #C1DF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BB12A#FFFFFF#000000##000000
##8BB12A1.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)
#BBA507
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#92A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8bb12a;
/* rgb */ color: rgb(139, 177, 42);
/* oklch */ color: oklch(70.8% 0.161 124.5);
Tailwind
colors: {
  custom: {
    50: '#b1c86e',
    500: '#8bb12a',
    950: '#000000',
  },
}
SCSS
$custom: #8bb12a;
$custom-light: #b1c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8bb12a",
  "rgb": {
    "r": 139,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 76.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70787,
    "c": 0.16148,
    "h": 124.5
  },
  "luminance": 0.371
}

Semantic roles & 50–950 ramp

primary
#8BB12A
secondary
#8970C6
accent
#43E571
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8BB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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