#8BAB2A#8BAB2A

#8BAB2A is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.4% C 0.154 H 122.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8BAB2A
RGBrgb(139, 171, 42)
HSLhsl(75, 61%, 42%)
HSVhsv(75, 75%, 67%)
CMYKcmyk(18.7%, 0%, 75.4%, 32.9%)
CIE-LABlab(65.58, -28.61, 58.47)
CIE-LCHlch(65.58, 65.10, 116.07°)
OKLaboklab(69.35% -0.0838 0.1295)
OKLCHoklch(69.35% 0.154 122.9)
XYZxyz(25.6286, 34.7818, 7.5534)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAB2A #4A2AAB
analogous
#AB8B2A #8BAB2A #4BAB2A
triadic
#8BAB2A #2A8BAB #AB2A8B
tetradic
#8BAB2A #2AAB8B #4A2AAB #AB2A4B
square
#8BAB2A #2AAB8B #4A2AAB #AB2A4B
split-complementary
#8BAB2A #2A4BAB #8B2AAB
monochromatic
#3B4912 #637A1E #8BAB2A #ADD142 #C2DD73

Accessibility & contrast

On white

2.64
#8BAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#8BAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAB2A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAB2A#FFFFFF#000000##000000
##8BAB2A1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00C
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#92A293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8bab2a;
/* rgb */ color: rgb(139, 171, 42);
/* oklch */ color: oklch(69.4% 0.154 122.9);
Tailwind
colors: {
  custom: {
    50: '#b0c46e',
    500: '#8bab2a',
    950: '#000000',
  },
}
SCSS
$custom: #8bab2a;
$custom-light: #b0c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8bab2a",
  "rgb": {
    "r": 139,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 74.884,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69353,
    "c": 0.15421,
    "h": 122.9
  },
  "luminance": 0.34782
}

Semantic roles & 50–950 ramp

primary
#8BAB2A
secondary
#826DC4
accent
#44E46C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8BAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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