#8CB178#8CB178

#8CB178 is a light, moderate yellow-green. Relative luminance 0.384; OKLCH L 71.9% C 0.089 H 135.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8CB178
RGBrgb(140, 177, 120)
HSLhsl(99, 27%, 58%)
HSVhsv(99, 32%, 69%)
CMYKcmyk(20.9%, 0%, 32.2%, 30.6%)
CIE-LABlab(68.30, -23.19, 25.21)
CIE-LCHlch(68.30, 34.25, 132.61°)
OKLaboklab(71.85% -0.0631 0.0632)
OKLCHoklch(71.85% 0.089 135)
XYZxyz(29.9268, 38.3751, 23.5961)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB178 #9D78B1
analogous
#A9B178 #8CB178 #78B180
triadic
#8CB178 #788CB1 #B1788C
tetradic
#8CB178 #78A9B1 #9D78B1 #B18078
square
#8CB178 #78A9B1 #9D78B1 #B18078
split-complementary
#8CB178 #8078B1 #B178A9
monochromatic
#506F40 #6C9556 #8CB178 #ADC79F #CEDEC6

Accessibility & contrast

On white

2.42
#8CB178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#8CB178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB178
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB178#FFFFFF#000000##000000
##8CB1781.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A974
Deuteranopia (green-blind)
#B0A57B
Tritanopia (blue-blind)
#8CADA2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb178;
/* rgb */ color: rgb(140, 177, 120);
/* oklch */ color: oklch(71.9% 0.089 135.0);
Tailwind
colors: {
  custom: {
    50: '#aec89f',
    500: '#8cb178',
    950: '#000000',
  },
}
SCSS
$custom: #8cb178;
$custom-light: #aec89f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb178",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 98.947,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.08929,
    "h": 135
  },
  "luminance": 0.38376
}

Semantic roles & 50–950 ramp

primary
#8CB178
secondary
#C6B7CE
accent
#65C3A2
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8CB178

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

Preview Lab → · Contrast checker → · Palette generator →

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