#8CB156#8CB156

#8CB156 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.3% C 0.127 H 127.6°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8CB156
RGBrgb(140, 177, 86)
HSLhsl(84, 37%, 52%)
HSVhsv(84, 51%, 69%)
CMYKcmyk(20.9%, 0%, 51.4%, 30.6%)
CIE-LABlab(67.79, -27.62, 42.12)
CIE-LCHlch(67.79, 50.37, 123.26°)
OKLaboklab(71.28% -0.0772 0.1002)
OKLCHoklch(71.28% 0.127 127.6)
XYZxyz(28.2169, 37.6912, 14.5908)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB156 #7B56B1
analogous
#B1A956 #8CB156 #5FB156
triadic
#8CB156 #568CB1 #B1568C
tetradic
#8CB156 #56B1A9 #7B56B1 #B1565F
square
#8CB156 #56B1A9 #7B56B1 #B1565F
split-complementary
#8CB156 #565FB1 #A956B1
monochromatic
#4B602C #6C8A40 #8CB156 #A8C480 #C5D8AA

Accessibility & contrast

On white

2.46
#8CB156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#8CB156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB156
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB156#FFFFFF#000000##000000
##8CB1561.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74E
Deuteranopia (green-blind)
#B3A45C
Tritanopia (blue-blind)
#90AA9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb156;
/* rgb */ color: rgb(140, 177, 86);
/* oklch */ color: oklch(71.3% 0.127 127.6);
Tailwind
colors: {
  custom: {
    50: '#afc888',
    500: '#8cb156',
    950: '#000000',
  },
}
SCSS
$custom: #8cb156;
$custom-light: #afc888;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb156",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 84.396,
    "s": 36.842,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.1265,
    "h": 127.6
  },
  "luminance": 0.37692
}

Semantic roles & 50–950 ramp

primary
#8CB156
secondary
#AE9DC5
accent
#5BCD89
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB156

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

Preview Lab → · Contrast checker → · Palette generator →

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