#8BAC40#8BAC40

#8BAC40 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.8% C 0.140 H 124.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8BAC40
RGBrgb(139, 172, 64)
HSLhsl(78, 46%, 46%)
HSVhsv(78, 63%, 67%)
CMYKcmyk(19.2%, 0%, 62.8%, 32.5%)
CIE-LABlab(66.03, -27.66, 50.34)
CIE-LCHlch(66.03, 57.44, 118.79°)
OKLaboklab(69.77% -0.0792 0.1157)
OKLCHoklch(69.77% 0.14 124.4)
XYZxyz(26.3255, 35.3640, 10.2885)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAC40 #6140AC
analogous
#AC9740 #8BAC40 #55AC40
triadic
#8BAC40 #408BAC #AC408B
tetradic
#8BAC40 #40AC97 #6140AC #AC4055
square
#8BAC40 #40AC97 #6140AC #AC4055
split-complementary
#8BAC40 #4055AC #9740AC
monochromatic
#43531F #677F2F #8BAC40 #A8C564 #C1D691

Accessibility & contrast

On white

2.60
#8BAC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#8BAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAC40
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAC40#FFFFFF#000000##000000
##8BAC401.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A233
Deuteranopia (green-blind)
#B1A048
Tritanopia (blue-blind)
#91A495
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8bac40;
/* rgb */ color: rgb(139, 172, 64);
/* oklch */ color: oklch(69.8% 0.140 124.4);
Tailwind
colors: {
  custom: {
    50: '#afc47a',
    500: '#8bac40',
    950: '#000000',
  },
}
SCSS
$custom: #8bac40;
$custom-light: #afc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#8bac40",
  "rgb": {
    "r": 139,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 78.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69769,
    "c": 0.14016,
    "h": 124.4
  },
  "luminance": 0.35364
}

Semantic roles & 50–950 ramp

primary
#8BAC40
secondary
#9987C1
accent
#52D57A
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8BAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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