#8CB271#8CB271

#8CB271 is a light, moderate yellow-green. Relative luminance 0.386; OKLCH L 71.9% C 0.099 H 133.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8CB271
RGBrgb(140, 178, 113)
HSLhsl(95, 30%, 57%)
HSVhsv(95, 37%, 70%)
CMYKcmyk(21.3%, 0%, 36.5%, 30.2%)
CIE-LABlab(68.47, -24.73, 29.16)
CIE-LCHlch(68.47, 38.23, 130.30°)
OKLaboklab(71.95% -0.0675 0.0723)
OKLCHoklch(71.95% 0.099 133)
XYZxyz(29.7156, 38.6079, 21.5061)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB271 #9771B2
analogous
#ACB271 #8CB271 #71B277
triadic
#8CB271 #718CB2 #B2718C
tetradic
#8CB271 #71ACB2 #9771B2 #B27771
square
#8CB271 #71ACB2 #9771B2 #B27771
split-complementary
#8CB271 #7771B2 #B271AC
monochromatic
#506D3B #6D9551 #8CB271 #ACC899 #CCDDC0

Accessibility & contrast

On white

2.41
#8CB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#8CB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB271
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB271#FFFFFF#000000##000000
##8CB2711.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96C
Deuteranopia (green-blind)
#B1A674
Tritanopia (blue-blind)
#8DADA2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb271;
/* rgb */ color: rgb(140, 178, 113);
/* oklch */ color: oklch(71.9% 0.099 133.0);
Tailwind
colors: {
  custom: {
    50: '#aec99a',
    500: '#8cb271',
    950: '#000000',
  },
}
SCSS
$custom: #8cb271;
$custom-light: #aec99a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb271",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 95.077,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71948,
    "c": 0.09893,
    "h": 133
  },
  "luminance": 0.38608
}

Semantic roles & 50–950 ramp

primary
#8CB271
secondary
#C2B2CD
accent
#62C69C
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8CB271

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

Preview Lab → · Contrast checker → · Palette generator →

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