#8CB172#8CB172

#8CB172 is a light, moderate yellow-green. Relative luminance 0.382; OKLCH L 71.7% C 0.096 H 133.1°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8CB172
RGBrgb(140, 177, 114)
HSLhsl(95, 29%, 57%)
HSVhsv(95, 36%, 69%)
CMYKcmyk(20.9%, 0%, 35.6%, 30.6%)
CIE-LABlab(68.19, -24.09, 28.27)
CIE-LCHlch(68.19, 37.14, 130.43°)
OKLaboklab(71.73% -0.0657 0.0703)
OKLCHoklch(71.73% 0.096 133.1)
XYZxyz(29.5740, 38.2340, 21.7381)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB172 #9772B1
analogous
#ACB172 #8CB172 #72B178
triadic
#8CB172 #728CB1 #B1728C
tetradic
#8CB172 #72ACB1 #9772B1 #B17872
square
#8CB172 #72ACB1 #9772B1 #B17872
split-complementary
#8CB172 #7872B1 #B172AC
monochromatic
#506D3C #6D9452 #8CB172 #ACC799 #CCDDC1

Accessibility & contrast

On white

2.43
#8CB172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#8CB172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB172
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB172#FFFFFF#000000##000000
##8CB1721.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86E
Deuteranopia (green-blind)
#B0A575
Tritanopia (blue-blind)
#8DACA1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb172;
/* rgb */ color: rgb(140, 177, 114);
/* oklch */ color: oklch(71.7% 0.096 133.1);
Tailwind
colors: {
  custom: {
    50: '#aec89b',
    500: '#8cb172',
    950: '#000000',
  },
}
SCSS
$custom: #8cb172;
$custom-light: #aec89b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb172",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 95.238,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71734,
    "c": 0.0962,
    "h": 133.1
  },
  "luminance": 0.38235
}

Semantic roles & 50–950 ramp

primary
#8CB172
secondary
#C2B3CC
accent
#63C59C
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8CB172

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

Preview Lab → · Contrast checker → · Palette generator →

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