#8CB161#8CB161

#8CB161 is a light, moderate yellow-green. Relative luminance 0.379; OKLCH L 71.4% C 0.115 H 129.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8CB161
RGBrgb(140, 177, 97)
HSLhsl(88, 34%, 54%)
HSVhsv(88, 45%, 69%)
CMYKcmyk(20.9%, 0%, 45.2%, 30.6%)
CIE-LABlab(67.93, -26.36, 36.79)
CIE-LCHlch(67.93, 45.26, 125.62°)
OKLaboklab(71.44% -0.0728 0.0891)
OKLCHoklch(71.44% 0.115 129.3)
XYZxyz(28.6947, 37.8823, 17.1072)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB161 #8661B1
analogous
#B1AE61 #8CB161 #64B161
triadic
#8CB161 #618CB1 #B1618C
tetradic
#8CB161 #61B1AE #8661B1 #B16164
square
#8CB161 #61B1AE #8661B1 #B16164
split-complementary
#8CB161 #6164B1 #AE61B1
monochromatic
#4E6532 #6D8E46 #8CB161 #AAC58A #C8D9B3

Accessibility & contrast

On white

2.45
#8CB161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8CB161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB161
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB161#FFFFFF#000000##000000
##8CB1611.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A75B
Deuteranopia (green-blind)
#B2A566
Tritanopia (blue-blind)
#8FAB9E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb161;
/* rgb */ color: rgb(140, 177, 97);
/* oklch */ color: oklch(71.4% 0.115 129.3);
Tailwind
colors: {
  custom: {
    50: '#afc88f',
    500: '#8cb161',
    950: '#000000',
  },
}
SCSS
$custom: #8cb161;
$custom-light: #afc88f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb161",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 97
  },
  "hsl": {
    "h": 87.75,
    "s": 33.898,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.11512,
    "h": 129.3
  },
  "luminance": 0.37883
}

Semantic roles & 50–950 ramp

primary
#8CB161
secondary
#B6A6C8
accent
#5ECA90
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #8CB161

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

Preview Lab → · Contrast checker → · Palette generator →

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