#8CB671#8CB671

#8CB671 is a light, moderate yellow-green. Relative luminance 0.402; OKLCH L 72.9% C 0.105 H 133.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8CB671
RGBrgb(140, 182, 113)
HSLhsl(97, 32%, 58%)
HSVhsv(97, 38%, 71%)
CMYKcmyk(23.1%, 0%, 37.9%, 28.6%)
CIE-LABlab(69.63, -26.69, 30.68)
CIE-LCHlch(69.63, 40.66, 131.02°)
OKLaboklab(72.88% -0.073 0.0759)
OKLCHoklch(72.88% 0.105 133.9)
XYZxyz(30.5231, 40.2229, 21.7752)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB671 #9B71B6
analogous
#AEB671 #8CB671 #71B678
triadic
#8CB671 #718CB6 #B6718C
tetradic
#8CB671 #71AEB6 #9B71B6 #B67871
square
#8CB671 #71AEB6 #9B71B6 #B67871
split-complementary
#8CB671 #7871B6 #B671AE
monochromatic
#50723B #6D9A4F #8CB671 #ADCB99 #CDE0C2

Accessibility & contrast

On white

2.32
#8CB671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#8CB671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB671
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB671#FFFFFF#000000##000000
##8CB6711.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAC6C
Deuteranopia (green-blind)
#B5A975
Tritanopia (blue-blind)
#8CB1A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8cb671;
/* rgb */ color: rgb(140, 182, 113);
/* oklch */ color: oklch(72.9% 0.105 133.9);
Tailwind
colors: {
  custom: {
    50: '#afcc9a',
    500: '#8cb671',
    950: '#000000',
  },
}
SCSS
$custom: #8cb671;
$custom-light: #afcc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb671",
  "rgb": {
    "r": 140,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 96.522,
    "s": 32.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.10525,
    "h": 133.9
  },
  "luminance": 0.40224
}

Semantic roles & 50–950 ramp

primary
#8CB671
secondary
#C4B4CF
accent
#60C89F
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8CB671

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

Preview Lab → · Contrast checker → · Palette generator →

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