#8CB378#8CB378

#8CB378 is a light, moderate yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.093 H 135.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8CB378
RGBrgb(140, 179, 120)
HSLhsl(100, 28%, 59%)
HSVhsv(100, 33%, 70%)
CMYKcmyk(21.8%, 0%, 33%, 29.8%)
CIE-LABlab(68.88, -24.18, 25.98)
CIE-LCHlch(68.88, 35.49, 132.95°)
OKLaboklab(72.32% -0.0659 0.065)
OKLCHoklch(72.32% 0.093 135.4)
XYZxyz(30.3247, 39.1710, 23.7287)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB378 #9F78B3
analogous
#A9B378 #8CB378 #78B381
triadic
#8CB378 #788CB3 #B3788C
tetradic
#8CB378 #78A9B3 #9F78B3 #B38178
square
#8CB378 #78A9B3 #9F78B3 #B38178
split-complementary
#8CB378 #8178B3 #B378A9
monochromatic
#507140 #6C9856 #8CB378 #ADC99F #CFDFC6

Accessibility & contrast

On white

2.38
#8CB378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#8CB378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB378
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB378#FFFFFF#000000##000000
##8CB3781.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA74
Deuteranopia (green-blind)
#B1A77B
Tritanopia (blue-blind)
#8CAFA4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb378;
/* rgb */ color: rgb(140, 179, 120);
/* oklch */ color: oklch(72.3% 0.093 135.4);
Tailwind
colors: {
  custom: {
    50: '#aeca9f',
    500: '#8cb378',
    950: '#000000',
  },
}
SCSS
$custom: #8cb378;
$custom-light: #aeca9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb378",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 120
  },
  "hsl": {
    "h": 99.661,
    "s": 27.962,
    "l": 58.627
  },
  "oklch": {
    "l": 0.72316,
    "c": 0.09253,
    "h": 135.4
  },
  "luminance": 0.39172
}

Semantic roles & 50–950 ramp

primary
#8CB378
secondary
#C7B8CF
accent
#64C4A3
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8CB378

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

Preview Lab → · Contrast checker → · Palette generator →

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