#8BAB1F#8BAB1F

#8BAB1F is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 69.3% C 0.160 H 122.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8BAB1F
RGBrgb(139, 171, 31)
HSLhsl(74, 69%, 40%)
HSVhsv(74, 82%, 67%)
CMYKcmyk(18.7%, 0%, 81.9%, 32.9%)
CIE-LABlab(65.53, -29.10, 61.78)
CIE-LCHlch(65.53, 68.29, 115.22°)
OKLaboklab(69.29% -0.0859 0.1346)
OKLCHoklch(69.29% 0.16 122.6)
XYZxyz(25.4581, 34.7136, 6.6553)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAB1F #3F1FAB
analogous
#AB851F #8BAB1F #45AB1F
triadic
#8BAB1F #1F8BAB #AB1F8B
tetradic
#8BAB1F #1FAB85 #3F1FAB #AB1F45
square
#8BAB1F #1FAB85 #3F1FAB #AB1F45
split-complementary
#8BAB1F #1F45AB #851FAB
monochromatic
#37430C #617716 #8BAB1F #B2D92E #C5E362

Accessibility & contrast

On white

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

On black

7.94
#8BAB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAB1F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAB1F#FFFFFF#000000##000000
##8BAB1F1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B19F2E
Tritanopia (blue-blind)
#93A292
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8bab1f;
/* rgb */ color: rgb(139, 171, 31);
/* oklch */ color: oklch(69.3% 0.160 122.6);
Tailwind
colors: {
  custom: {
    50: '#b1c469',
    500: '#8bab1f',
    950: '#000000',
  },
}
SCSS
$custom: #8bab1f;
$custom-light: #b1c469;
$custom-dark: #000000;
JSON
{
  "hex": "#8bab1f",
  "rgb": {
    "r": 139,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 73.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.15971,
    "h": 122.6
  },
  "luminance": 0.34714
}

Semantic roles & 50–950 ramp

primary
#8BAB1F
secondary
#765EC7
accent
#3CEC64
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BAB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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